From: Guillaume Castagnino Date: Thu, 19 Oct 2017 07:32:46 +0000 (+0200) Subject: gitweb: use filetest to allow ACLs X-Git-Tag: v2.16.0-rc0~158^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=411ddf9eca67f77d09ce72a832332af9b9330569;p=git-core%2Fgit.git 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 --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 9208f42ed..6ac49eaf3 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);