From 197d693d71f3831c846324af8f2a36d73c897db5 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 7 Jun 2012 21:19:32 +0200 Subject: Bug 761199: buglist.cgi enters in an infinite loop if called without arguments and the user is logged in r=timello a=LpSolit --- Bugzilla/CGI.pm | 4 ++++ 1 file changed, 4 insertions(+) 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'); -- cgit v1.2.3-24-g4f1b