diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-02-24 19:31:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-24 19:31:22 +0100 |
commit | b080113fdd81ab28305b0da3e02691e05237f77f (patch) | |
tree | a347e274ff86e40da457c6b580d0e0e5cf97dbe9 /lib/private/Http/Client/DnsPinMiddleware.php | |
parent | c98b0462e33011a99aeaba582d82e52fdb14c3ae (diff) | |
parent | 1d09dec66c0d0962b42587ab3ddadbcb67dcad65 (diff) | |
download | nextcloud-server-b080113fdd81ab28305b0da3e02691e05237f77f.tar.gz nextcloud-server-b080113fdd81ab28305b0da3e02691e05237f77f.zip |
Merge branch 'master' into fix/42480/user-admin-not-admin
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'lib/private/Http/Client/DnsPinMiddleware.php')
-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 aecccc6ce97..518281e4af0 100644 --- a/lib/private/Http/Client/DnsPinMiddleware.php +++ b/lib/private/Http/Client/DnsPinMiddleware.php @@ -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 violates local access rules'); + throw new LocalServerException('Host "'.$ip.'" ('.$hostName.':'.$port.') violates local access rules'); } $curlResolves["$hostName:$port"][] = $ip; } |