https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23068 --- Comment #19 from David Cook <dcook@prosentient.com.au> --- Comment on attachment 94807 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94807 Bug 23068: Add ability for Koha to handle X-Forwarded-For headers so REMOTE_ADDR features work behind a proxy Review of attachment 94807: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=23068&attachment=94807) ----------------------------------------------------------------- ::: C4/Context.pm @@ +1107,5 @@
+ +=cut + +sub set_remote_address { + if ( C4::Context->config('koha_trusted_proxies') ) {
Wouldn't this still be called under Plack? Couldn't we just look to see if it's Plack via environmental variables and only do this for CGI? -- You are receiving this mail because: You are watching all bug changes.