Page MenuHomePhabricator

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.

Event Timeline

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?

Aklapper removed Nbdd0121 as the assignee of this task.Apr 13 2020, 11:25 AM
Aklapper edited projects, added Patch-Needs-Improvement; removed Patch-For-Review.

@Nbdd0121: I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome. Thanks for your understanding!