diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-05-19 06:34:01 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:55 +0200 |
commit | 10918f3336863623020a6d73e63a0f0a5eebb306 (patch) | |
tree | a496e36a1f149e193a4ceed41531034a6b2ae888 /Bugzilla/PSGI.pm | |
parent | 215f1021948b63cad29094e7847b52c256ec9974 (diff) | |
download | bugzilla-10918f3336863623020a6d73e63a0f0a5eebb306.tar.gz bugzilla-10918f3336863623020a6d73e63a0f0a5eebb306.tar.xz |
mojo all the things
Diffstat (limited to 'Bugzilla/PSGI.pm')
-rw-r--r-- | Bugzilla/PSGI.pm | 3 |
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; |