Skip to content

Commit 411ddf9

Browse files
castagitster
authored andcommitted
gitweb: use filetest to allow ACLs
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 <[email protected]> Reviewed-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fc849d8 commit 411ddf9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitweb/gitweb.perl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
use 5.008;
1111
use strict;
1212
use warnings;
13+
# handle ACL in file access tests
14+
use filetest 'access';
1315
use CGI qw(:standard :escapeHTML -nosticky);
1416
use CGI::Util qw(unescape);
1517
use CGI::Carp qw(fatalsToBrowser set_message);

0 commit comments

Comments
 (0)