aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.htaccess.dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess.dist b/.htaccess.dist
index c11c9e9ab..f1b518c4a 100644
--- a/.htaccess.dist
+++ b/.htaccess.dist
@@ -7,6 +7,6 @@
</FilesMatch>
# Deny some sub-folders, which may not be excluded by their own .htaccess
-<If "%{REQUEST_URI} =~ m#/(bin|data|node_modules|vendor|\..+)(/|$)#">
+<If "%{REQUEST_URI} =~ m#(?<!/p/scripts)/(bin|data|extensions|node_modules|vendor|\..+)(/|$)#">
Require all denied
</If>