Merge branch 'cm/gitweb-project-list-persistent-cgi-fix' into maint
"gitweb" forgot to clear a global variable $search_regexp upon each request, mistakenly carrying over the previous search to a new one when used as a persistent CGI. * cm/gitweb-project-list-persistent-cgi-fix: gitweb: fix problem causing erroneous project list
This commit is contained in:
commit
897175f107
@ -1086,7 +1086,7 @@ sub evaluate_and_validate_params {
|
|||||||
our $search_use_regexp = $input_params{'search_use_regexp'};
|
our $search_use_regexp = $input_params{'search_use_regexp'};
|
||||||
|
|
||||||
our $searchtext = $input_params{'searchtext'};
|
our $searchtext = $input_params{'searchtext'};
|
||||||
our $search_regexp;
|
our $search_regexp = undef;
|
||||||
if (defined $searchtext) {
|
if (defined $searchtext) {
|
||||||
if (length($searchtext) < 2) {
|
if (length($searchtext) < 2) {
|
||||||
die_error(403, "At least two characters are required for search parameter");
|
die_error(403, "At least two characters are required for search parameter");
|
||||||
|
Loading…
Reference in New Issue
Block a user