diff options
-rw-r--r-- | lib/private/Http/Client/DnsPinMiddleware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Http/Client/DnsPinMiddleware.php b/lib/private/Http/Client/DnsPinMiddleware.php index 294a23f9de1..c6a58972fdd 100644 --- a/lib/private/Http/Client/DnsPinMiddleware.php +++ b/lib/private/Http/Client/DnsPinMiddleware.php @@ -134,7 +134,7 @@ class DnsPinMiddleware { $curlResolves["$hostName:$port"] = []; foreach ($targetIps as $ip) { - if (!$this->ipAddressClassifier->isLocalAddress($ip)) { + if ($this->ipAddressClassifier->isLocalAddress($ip)) { // TODO: continue with all non-local IPs? throw new LocalServerException('Host violates local access rules'); } |