[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 15:41:10 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15816
--- Comment #10 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 51323
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51323
Bug 15816: Redirect back to correct page after login
Review of attachment 51323:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15816&attachment=51323)
-----------------------------------------------------------------
::: 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?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list