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 | |
parent | Merge branch 'mp/push-pushoption-config' (diff) | |
parent | gitweb: use filetest to allow ACLs (diff) | |
download | tgif-9c958d69061b991097827fc53910dcb1b4f80485.tar.xz |
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
-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); |