Message ID | 20240111082802.ilmtwupekkbxqznw@lotus.rw.madduck.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | gitweb: Exiting subroutine via next at /usr/lib/cgi-bin/gitweb.cgi line 3142 | expand |
--- /tmp/gitweb.cgi 2024-01-11 09:07:47.283764508 +0100 +++ /usr/lib/cgi-bin/gitweb.cgi 2024-01-11 09:01:43.459218235 +0100 @@ -3139,7 +3139,7 @@ my $path = substr($File::Find::name, $pfxlen + 1); # paranoidly only filter here if ($paranoid && $filter && $path !~ m!^\Q$filter\E/!) { - next; + return; } # we check related file in $projectroot if (check_export_ok("$projectroot/$path")) {