diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2016-03-21 23:16:05 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2016-03-21 23:16:05 +0100 |
commit | c7e80318e56b540caf778c11b79bac9e1bb03e68 (patch) | |
tree | ce1b62b211294e655773b8c2a5ad5001b6efda66 /Bugzilla | |
parent | da0347e9af601ec04d8f5095775ab538bd2ead6b (diff) | |
download | bugzilla-c7e80318e56b540caf778c11b79bac9e1bb03e68.tar.gz bugzilla-c7e80318e56b540caf778c11b79bac9e1bb03e68.tar.xz |
Bug 1258187: When using plackup as a proxy, Apache is unable to handle saved queries correctly
r=dkl
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/CGI.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 8d605b0d9..f92dfddad 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -502,10 +502,8 @@ sub redirect_search_url { # GET requests that lacked a list_id are always redirected. POST requests # are only redirected if they're under the CGI_URI_LIMIT though. - my $self_url = $self->self_url(); - if ($self->request_method() ne 'POST' or length($self_url) < CGI_URI_LIMIT) { - print $self->redirect(-url => $self_url); - exit; + if ($self->request_method() ne 'POST' or length($self->self_url) < CGI_URI_LIMIT) { + $self->redirect_to_urlbase(); } } |