summaryrefslogtreecommitdiffstats
path: root/Bugzilla/PSGI.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/PSGI.pm')
-rw-r--r--Bugzilla/PSGI.pm3
1 files changed, 2 insertions, 1 deletions
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;