mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 02:31:33 -04:00
fix(DnsPinMiddleware): Don't log misleading port value
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
566cecbcc4
commit
e07c89d0e2
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ class DnsPinMiddleware {
|
|||
foreach ($targetIps as $ip) {
|
||||
if ($this->ipAddressClassifier->isLocalAddress($ip)) {
|
||||
// TODO: continue with all non-local IPs?
|
||||
throw new LocalServerException('Host "' . $ip . '" (' . $hostName . ':' . $port . ') violates local access rules');
|
||||
throw new LocalServerException('Host "' . $ip . '" (' . $hostName . ') violates local access rules');
|
||||
}
|
||||
$curlResolves["$hostName:$port"][] = $ip;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue