isConfiguredProxy not recognizing $wgSquidServers with port
Open, Needs TriagePublic

Description

When $wgSquidServers is configured with port, isConfiguredProxy will not recognize the server and thus the X-Forwarded-For field is not trusted.

Nbdd0121 created this task.Apr 13 2016, 1:15 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 13 2016, 1:15 AM

Change 283115 had a related patch set uploaded (by Nbdd0121):
Make IP.php trust X-Forwarded-For supplied by $wgSquidServers with port

https://gerrit.wikimedia.org/r/283115

What about repeating them (without port) in $wgSquidServersNoPurge?

What about repeating them (without port) in $wgSquidServersNoPurge?

Do you mean appending these to $wgSquidServersNoPurge automatically in Setup.php?