diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-06-07 21:19:32 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-06-07 21:19:32 +0200 |
commit | 197d693d71f3831c846324af8f2a36d73c897db5 (patch) | |
tree | 28ff7e8d0dc6b703c640d3ea1ba3c30465ffc079 /Bugzilla | |
parent | 24bac6ba586e86dfd88da50a00a8c3d6040626bc (diff) | |
download | bugzilla-197d693d71f3831c846324af8f2a36d73c897db5.tar.gz bugzilla-197d693d71f3831c846324af8f2a36d73c897db5.tar.xz |
Bug 761199: buglist.cgi enters in an infinite loop if called without arguments and the user is logged in
r=timello a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/CGI.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 879eca9b2..67a2fbab3 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -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'); |