https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15816 --- Comment #12 from Jesse Weaver <jweaver@bywatersolutions.com> --- (In reply to Jonathan Druart from comment #10)
Comment on attachment 51323 [details] [review] Bug 15816: Redirect back to correct page after login
Review of attachment 51323 [details] [review]: -----------------------------------------------------------------
::: C4/Auth.pm @@ +2055,5 @@
+ +sub _get_script_name { + # This is the method about.pl uses to detect Plack; now that two places use it, it MUST be + # right. + if ( ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) && $ENV{SCRIPT_NAME} =~ m,^/(intranet|opac)(.*), ) {
Jesse, why do we need to parse SCRIPT_NAME?
This is to make sure that we're not needlessly applying the fix; a local testing setup with plackup and (I think) the multi-host work on bug 15562 don't need this fix. -- You are receiving this mail because: You are watching all bug changes.