Skip to content

Commit 2f48942

Browse files
authored
Merge pull request #47 from pdsinterop/fix/NF-007
Fix incorrect regexp
2 parents d1d7ead + d4fa0a8 commit 2f48942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WAC.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public function getRequestedGrants($request) {
370370
// Special case: restrict access to all .acl files.
371371
// Control is needed to do anything with them,
372372
// having Control allows all operations.
373-
if (preg_match('/.acl$/', $path)) {
373+
if (preg_match('/\.acl$/', $path)) {
374374
return array(
375375
array(
376376
"type" => "resource",

0 commit comments

Comments
 (0)