Bug 761199: buglist.cgi enters in an infinite loop if called without arguments and the user is logged in

r=timello a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263912 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2012-06-07 19:30:45 +00:00
parent 678de9d175
commit 1ae108ba0c
2 changed files with 5 additions and 1 deletions

View File

@@ -1 +1 @@
8255
8256

View File

@@ -400,6 +400,10 @@ sub remove_cookie {
# URLs that get POSTed to buglist.cgi.
sub redirect_search_url {
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
# do anything related to Bugzilla::Search::Recent.
return if $self->param('regetlastlist');