]> jfr.im git - gitweb-patch.git/commitdiff
init
authorJohn Runyon <redacted>
Sun, 2 Jul 2023 08:45:42 +0000 (02:45 -0600)
committerJohn Runyon <redacted>
Sun, 2 Jul 2023 08:45:42 +0000 (02:45 -0600)
.gitignore [new file with mode: 0644]
patch [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..2ef0dc5
--- /dev/null
@@ -0,0 +1,5 @@
+*~
+*.bak
+a
+b
+gitweb.cgi
diff --git a/patch b/patch
new file mode 100644 (file)
index 0000000..1a931d0
--- /dev/null
+++ b/patch
@@ -0,0 +1,13 @@
+--- a/gitweb.cgi       2023-04-25 11:16:34.000000000 -0600
++++ b/gitweb.cgi       2023-07-02 02:35:05.068775275 -0600
+@@ -1530,8 +1530,8 @@
+       return unless defined $input;
+       if (!is_valid_pathname($input) ||
+               !(-d "$projectroot/$input") ||
+-              !check_export_ok("$projectroot/$input") ||
+-              ($strict_export && !project_in_list($input))) {
++              $strict_export && 
++              (!check_export_ok("$projectroot/$input") || !project_in_list($input))) {
+               return undef;
+       } else {
+               return 1;