Browse Source

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
maint
Junio C Hamano 7 years ago
parent
commit
9c958d6906
  1. 2
      gitweb/gitweb.perl

2
gitweb/gitweb.perl

@ -10,6 +10,8 @@ @@ -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);

Loading…
Cancel
Save