From defc90ff4c9a12585f8a64a2fe122a648b781b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Gro=C3=9Fberndt?= <stephan@grossberndt.de> Date: Sat, 28 May 2016 14:17:21 +0200 Subject: [PATCH] [TASK] Use noncapturing expression for vendor|typo3_src in _.htaccess Resolves: #76352 Releases: master, 7.6 Change-Id: I8332c93f1171d030d4198091779c8f1242c9337b Reviewed-on: https://review.typo3.org/48360 Reviewed-by: Markus Klein <markus.klein@typo3.org> Tested-by: Markus Klein <markus.klein@typo3.org> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> --- _.htaccess | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_.htaccess b/_.htaccess index e8a50f650316..beb7c9c56cc5 100644 --- a/_.htaccess +++ b/_.htaccess @@ -286,8 +286,7 @@ AddDefaultCharset utf-8 # Access block for folders RewriteRule _(?:recycler|temp)_/ - [F] RewriteRule fileadmin/templates/.*\.(?:txt|ts)$ - [F] - RewriteRule typo3temp/var/ - [F] - RewriteRule ^(vendor|typo3_src) - [F] + RewriteRule ^(?:vendor|typo3_src|typo3temp/var) - [F] RewriteRule (?:typo3conf/ext|typo3/sysext|typo3/ext)/[^/]+/(?:Configuration|Resources/Private|Tests?|Documentation|docs?)/ - [F] # Block access to all hidden files and directories with the exception of -- GitLab