From 310f1d08f5f3901b99775823009d763876a0f093 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 18 Jun 2014 14:27:03 +0800 Subject: Bug 1026863: buglist.cgi enters in an infinite loop if called without arguments and the user is logged in --- Bugzilla/CGI.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Bugzilla/CGI.pm') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index c003e9295..64da0af28 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -467,6 +467,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