From 411ddf9eca67f77d09ce72a832332af9b9330569 Mon Sep 17 00:00:00 2001 From: Guillaume Castagnino Date: Thu, 19 Oct 2017 09:32:46 +0200 Subject: 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 Reviewed-by: Jeff King Signed-off-by: Junio C Hamano --- gitweb/gitweb.perl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gitweb') diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 9208f42ed1..6ac49eaf3e 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -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); -- cgit v1.2.3