Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(DnsPinMiddleware): Don't log misleading port value
Signed-off-by: Josh <[email protected]>
  • Loading branch information
joshtrichards authored Jan 31, 2025
commit e07c89d0e2a4e71748ef2ab5235a170f316859b1
2 changes: 1 addition & 1 deletion lib/private/Http/Client/DnsPinMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function addDnsPinning() {
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;
}
Expand Down