Commit c7e80318 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 1258187: When using plackup as a proxy, Apache is unable to handle saved queries correctly

r=dkl
parent da0347e9
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment