Skip to content

Commit 9c958d6

Browse files
committed
Merge branch 'gc/gitweb-filetest-acl'
"gitweb" checks if a directory is searchable with Perl's "-x" operator, which can be enhanced by using "filetest 'access'" pragma, which now we do. * gc/gitweb-filetest-acl: gitweb: use filetest to allow ACLs
2 parents c692fe2 + 411ddf9 commit 9c958d6

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)