From: John Runyon Date: Sun, 2 Jul 2023 08:45:42 +0000 (-0600) Subject: init X-Git-Url: https://jfr.im/git/gitweb-patch.git/commitdiff_plain/7734d8dcf9cda0ca7c51e36844decbb28ec214d3?ds=sidebyside init --- 7734d8dcf9cda0ca7c51e36844decbb28ec214d3 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2ef0dc5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*~ +*.bak +a +b +gitweb.cgi diff --git a/patch b/patch new file mode 100644 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;