diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-07-19 18:18:47 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-07-31 18:57:16 +0200 |
commit | f7c2f14988dc1638cb68f4a96cae4bc387688809 (patch) | |
tree | bc51fe3ddb778ab54161246c663a1af1508897d5 /Bugzilla/Quantum/CGI.pm | |
parent | 5cf8f186b1f2dbda01cd63a0feb12ea0bdfa02af (diff) | |
download | bugzilla-f7c2f14988dc1638cb68f4a96cae4bc387688809.tar.gz bugzilla-f7c2f14988dc1638cb68f4a96cae4bc387688809.tar.xz |
fix errors from group review
Diffstat (limited to 'Bugzilla/Quantum/CGI.pm')
-rw-r--r-- | Bugzilla/Quantum/CGI.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Quantum/CGI.pm b/Bugzilla/Quantum/CGI.pm index 0e09d795e..ba09dded6 100644 --- a/Bugzilla/Quantum/CGI.pm +++ b/Bugzilla/Quantum/CGI.pm @@ -52,7 +52,6 @@ sub load_one { my $wrapper = sub { my ($c) = @_; my $stdin = $c->_STDIN; - my $stdout = ''; local $C = $c; local %ENV = $c->_ENV($file); local *STDIN; ## no critic (local) @@ -102,7 +101,7 @@ sub _ENV { $remote_user = $authenticate =~ /Basic\s+(.*)/ ? b64_decode $1 : ''; $remote_user = $remote_user =~ /([^:]+)/ ? $1 : ''; } - my $path_info = $c->param('PATH_INFO'); + my $path_info = $c->stash->{'mojo.captures'}{'PATH_INFO'}; my %captures = %{ $c->stash->{'mojo.captures'} // {} }; foreach my $key (keys %captures) { if ($key eq 'controller' || $key eq 'action' || $key eq 'PATH_INFO' || $key =~ /^REWRITE_/) { |