]> jfr.im git - gitweb-patch.git/blame - patch
init
[gitweb-patch.git] / patch
CommitLineData
7734d8dc
JR
1--- a/gitweb.cgi 2023-04-25 11:16:34.000000000 -0600
2+++ b/gitweb.cgi 2023-07-02 02:35:05.068775275 -0600
3@@ -1530,8 +1530,8 @@
4 return unless defined $input;
5 if (!is_valid_pathname($input) ||
6 !(-d "$projectroot/$input") ||
7- !check_export_ok("$projectroot/$input") ||
8- ($strict_export && !project_in_list($input))) {
9+ $strict_export &&
10+ (!check_export_ok("$projectroot/$input") || !project_in_list($input))) {
11 return undef;
12 } else {
13 return 1;