Skip to content

Commit

Permalink
gitweb: use filetest to allow ACLs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
casta authored and gitster committed Oct 24, 2017
1 parent fc849d8 commit 411ddf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 411ddf9

Please sign in to comment.