From: Frédéric Buclin Date: Thu, 7 Jun 2012 19:19:32 +0000 (+0200) Subject: Bug 761199: buglist.cgi enters in an infinite loop if called without arguments and... X-Git-Tag: bugzilla-4.3.2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=197d693d71f3831c846324af8f2a36d73c897db5;p=thirdparty%2Fbugzilla.git Bug 761199: buglist.cgi enters in an infinite loop if called without arguments and the user is logged in r=timello a=LpSolit --- diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 879eca9b25..67a2fbab39 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');