diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-11-06 14:24:30 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-06 14:24:30 +0900 |
commit | 9c958d69061b991097827fc53910dcb1b4f80485 (patch) | |
tree | b28dae3cfece70cb17efcbbd8ea422892e41f483 /gitweb | |
parent | c692fe2c1e3b0104c5573e2ec3ae62ba2711c4e6 (diff) | |
parent | 411ddf9eca67f77d09ce72a832332af9b9330569 (diff) | |
download | git-9c958d69061b991097827fc53910dcb1b4f80485.tar.gz |
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
Diffstat (limited to 'gitweb')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 959f04b494..2417057f2b 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); |