1
0
mirror of https://github.com/git/git.git synced 2024-11-20 05:44:00 +01:00

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
This commit is contained in:
Junio C Hamano 2017-11-06 14:24:30 +09:00
commit 9c958d6906

@ -10,6 +10,8 @@
use 5.008; use 5.008;
use strict; use strict;
use warnings; use warnings;
# handle ACL in file access tests
use filetest 'access';
use CGI qw(:standard :escapeHTML -nosticky); use CGI qw(:standard :escapeHTML -nosticky);
use CGI::Util qw(unescape); use CGI::Util qw(unescape);
use CGI::Carp qw(fatalsToBrowser set_message); use CGI::Carp qw(fatalsToBrowser set_message);