diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-11-26 01:08:58 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-11-26 01:08:58 +0100 |
commit | c9aaffd4541554af069e4ac097c39f567b02f55a (patch) | |
tree | 13498d0860a3d4616f26d5f56e767f382678c682 /buglist.cgi | |
parent | 92cb17e05cecb4093ee9e189347ba66b8844528a (diff) | |
download | bugzilla-c9aaffd4541554af069e4ac097c39f567b02f55a.tar.gz bugzilla-c9aaffd4541554af069e4ac097c39f567b02f55a.tar.xz |
Bug 255606: Do not let buglist.cgi return all bugs by default
r/a=mkanat
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index e928af905..df421171d 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -82,7 +82,7 @@ if (defined($searchstring)) { # If configured to not allow empty words, reject empty searches from the # Find a Specific Bug search form, including words being a single or # several consecutive whitespaces only. -if (!Bugzilla->params->{'specific_search_allow_empty_words'} +if (!Bugzilla->params->{'search_allow_no_criteria'} && defined($cgi->param('content')) && $cgi->param('content') =~ /^\s*$/) { ThrowUserError("buglist_parameters_required"); |