Koha/t/Koha
David Cook 7b84fda33b 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

Signed-off-by: Didier Gautheron <didier.gautheron@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-20 12:37:29 +02:00
..
Authority Bug 14769: (QA follow-up) Remove global var $cached_indicators 2018-04-12 10:50:36 -03:00
I18N/po/xx_XX/LC_MESSAGES Bug 15395: Allow correct handling of plural translation 2018-11-08 15:55:50 +00:00
Middleware Bug 25950: Remove <client> in X-Forwarded-For from proxy tests 2020-07-20 12:37:29 +02:00
Plugins Bug 23050: (QA follow-up) Add Koha::Plugins::Tab class 2019-11-05 08:13:59 +00:00
REST/Plugin Bug 25044: (follow-up) Fix wrong tests 2020-04-14 15:23:39 +01:00
SearchEngine Bug 24823: Remove unused parameters 2020-05-12 11:43:30 +01:00
Util Bug 21560: Unit test for Koha::Util::OpenDocument 2019-03-15 12:02:46 +00:00
Config.t Bug 19760: Fix Config.t test 2017-12-22 14:04:52 -03:00
Exceptions.t Bug 25423: (follow-up) Fix wrong test 2020-05-08 16:45:52 -03:00
I18N.t Bug 15395: Allow correct handling of plural translation 2018-11-08 15:55:50 +00:00
ItemType.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
RDF.t Bug 18586: Create module to mint RDF subject URIs 2018-08-09 12:11:16 +00:00
Script.t Bug 25109: Add 'wait' tests 2020-04-14 16:57:01 +01:00
Script_cron.t Bug 17845: Remove some missed references to branchprinter 2020-03-10 15:18:28 +00:00
sleep.pl Bug 25109: Add ->new and ->lock_exec to Koha::Script 2020-04-14 16:56:57 +01:00
wait.pl Bug 25109: Add 'wait' tests 2020-04-14 16:57:01 +01:00
Z3950responder.t Bug 13937: Fix issues found in QA 2019-10-08 14:39:50 +01:00