]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: use filetest to allow ACLs
authorGuillaume Castagnino <redacted>
Thu, 19 Oct 2017 07:32:46 +0000 (09:32 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:33 +0000 (00:51 -0400)
In commit 46a1385 (gitweb: skip unreadable subdirectories, 2017-07-18)
we forgot to handle non-unix ACLs as well. Fix this.

Signed-off-by: Guillaume Castagnino <redacted>
Reviewed-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 80984e6ac1f9f79e9cb86ee117bdce081d33bc6cd58f1c093a3131436db3357f..75d1c5b3f49c4ecf886c1062dcf9f244de3b2cf7979bfef0d0525664bfbadc9b 100755 (executable)
@@ -10,6 +10,8 @@
 use 5.008;
 use strict;
 use warnings;
+# handle ACL in file access tests
+use filetest 'access';
 use CGI qw(:standard :escapeHTML -nosticky);
 use CGI::Util qw(unescape);
 use CGI::Carp qw(fatalsToBrowser set_message);
This page took 0.262197 seconds and 4 git commands to generate.