From 10918f3336863623020a6d73e63a0f0a5eebb306 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sat, 19 May 2018 00:34:01 -0400 Subject: mojo all the things --- Bugzilla/PSGI.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/PSGI.pm') diff --git a/Bugzilla/PSGI.pm b/Bugzilla/PSGI.pm index 46352b319..e2963ff7a 100644 --- a/Bugzilla/PSGI.pm +++ b/Bugzilla/PSGI.pm @@ -24,6 +24,7 @@ sub compile_cgi { my $app = CGI::Emulate::PSGI->handler( sub { Bugzilla::init_page(); + $ENV{PATH_INFO} = '' if $ENV{PATH_INFO} eq '/'; $cgi->(); } ); @@ -39,4 +40,4 @@ sub compile_cgi { } -1; \ No newline at end of file +1; -- cgit v1.2.3-24-g4f1b