https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42527

--- Comment #4 from David Cook <[email protected]> ---
(In reply to Jonathan Druart from comment #3)
> I've started here but actually get_script_name is not the place to fix IMO.
> Why are we missing the / between opac and errors?
> $ENV{SCRIPT_NAME} is /opacerrors/404.pl when we reach get_script_name.

I think it's because of the subrequest in Plack::Middleware::ErrorDocument:

https://metacpan.org/dist/Plack/source/lib/Plack/Middleware/ErrorDocument.pm#L31
https://metacpan.org/module/Plack::App::File/source#L26

Now the paths in our ErrorDocument use relative paths because of reasons I
can't remember. I know it is (or was) important at the time. Although that
gives me an idea...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to