[Koha-bugs] [Bug 25950] REMOTE_ADDR set to null 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:32:00 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25950
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #106646|0 |1
is obsolete| |
--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Created attachment 106647
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106647&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