mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
Include hostName:$port for Host access violation message as well
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
This commit is contained in:
parent
25c0021137
commit
414f8f1f2d
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ class DnsPinMiddleware {
|
|||
foreach ($targetIps as $ip) {
|
||||
if ($this->ipAddressClassifier->isLocalAddress($ip)) {
|
||||
// TODO: continue with all non-local IPs?
|
||||
throw new LocalServerException('Host "'.$ip.'" violates local access rules');
|
||||
throw new LocalServerException('Host "'.$ip.'" ('.$hostName.':'.$port.') violates local access rules');
|
||||
}
|
||||
$curlResolves["$hostName:$port"][] = $ip;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue