[Koha-bugs] [Bug 15816] Timeout login redirects to home page
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 9 19:06:14 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15816
--- Comment #12 from Jesse Weaver <jweaver at 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.
More information about the Koha-bugs
mailing list