diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-11-26 01:13:18 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-11-26 01:13:18 +0100 |
commit | 39a3753d0cd38ff1752b00f24627cbaba412848a (patch) | |
tree | 9790638d058d226f04629936b64b32a5b3380829 /buglist.cgi | |
parent | 80882f085e8918346ddb0ec3250f0d31ddaba5e6 (diff) | |
download | bugzilla-39a3753d0cd38ff1752b00f24627cbaba412848a.tar.gz bugzilla-39a3753d0cd38ff1752b00f24627cbaba412848a.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 bf8b443e6..85a8ae760 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"); |