Commit 197d693d authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 761199: buglist.cgi enters in an infinite loop if called without arguments…

Bug 761199: buglist.cgi enters in an infinite loop if called without arguments and the user is logged in r=timello a=LpSolit
parent 24bac6ba
...@@ -400,6 +400,10 @@ sub remove_cookie { ...@@ -400,6 +400,10 @@ sub remove_cookie {
# URLs that get POSTed to buglist.cgi. # URLs that get POSTed to buglist.cgi.
sub redirect_search_url { sub redirect_search_url {
my $self = shift; my $self = shift;
# If there is no parameter, there is nothing to do.
return unless $self->param;
# If we're retreiving an old list, we never need to redirect or # If we're retreiving an old list, we never need to redirect or
# do anything related to Bugzilla::Search::Recent. # do anything related to Bugzilla::Search::Recent.
return if $self->param('regetlastlist'); return if $self->param('regetlastlist');
......
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