[Koha-bugs] [Bug 25950] REMOTE_ADDR if client_ip in X-Forwarded-For matches a koha_trusted_proxies value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 8 08:33:15 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25950

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|koha-bugs at lists.koha-commun |dcook at prosentient.com.au
                   |ity.org                     |

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Actually, if your REMOTE_ADDR is 1.1.1.1 and your X-Forwarded-For is 1.1.1.1
and your koha_trusted_proxies is 1.1.1.0/24, then your REMOTE_ADDR will be
reset to null.

If there is only 1 value in the X-Forwarded-For, we shouldn't be looking for
proxies.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list