Skip to content

Commit a8624d3

Browse files
committed
Merge branch 'cm/gitweb-project-list-persistent-cgi-fix'
"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
2 parents 0f93608 + ca7a5dc commit a8624d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/gitweb.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ sub evaluate_and_validate_params {
10861086
our $search_use_regexp = $input_params{'search_use_regexp'};
10871087

10881088
our $searchtext = $input_params{'searchtext'};
1089-
our $search_regexp;
1089+
our $search_regexp = undef;
10901090
if (defined $searchtext) {
10911091
if (length($searchtext) < 2) {
10921092
die_error(403, "At least two characters are required for search parameter");

0 commit comments

Comments
 (0)