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> (cherry picked from commit |
||
|---|---|---|
| .. | ||
| Authority | ||
| I18N/po/xx_XX/LC_MESSAGES | ||
| Middleware | ||
| Plugins | ||
| REST/Plugin | ||
| SearchEngine | ||
| Util | ||
| Config.t | ||
| Exceptions.t | ||
| I18N.t | ||
| ItemType.t | ||
| RDF.t | ||
| Script.t | ||
| Script_cron.t | ||
| Z3950responder.t | ||