]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1258187: When using plackup as a proxy, Apache is unable to handle saved queries...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 21 Mar 2016 22:16:05 +0000 (23:16 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 21 Mar 2016 22:16:05 +0000 (23:16 +0100)
r=dkl

Bugzilla/CGI.pm

index 8d605b0d91ab408255d1da75d325bdc36dae8919..f92dfddadbff2e15460820eaa51d3a743a5c9235 100644 (file)
@@ -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();
     }
 }