[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 09:14:06 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25950
--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
Created attachment 106646
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106646&action=edit
Bug 25950: Remove <client> in X-Forwarded-For from proxy tests
This patch removes the <client> ip address in the X-Forwarded-For
header from being tested against koha_trusted_proxies.
Without this patch, REMOTE_ADDR will be set to null, if the <client>
ip address matches against koha_trusted_proxies.
To Test:
1. Run the unit test t/Koha/Middleware/RealIP.t
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list