[TASK] Use noncapturing expression for vendor|typo3_src in _.htaccess 61/48361/3
authorStephan Großberndt <stephan@grossberndt.de>
Sat, 28 May 2016 12:17:21 +0000 (14:17 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Sat, 28 May 2016 14:47:50 +0000 (16:47 +0200)
Resolves: #76352
Releases: master, 7.6
Change-Id: I8332c93f1171d030d4198091779c8f1242c9337b
Reviewed-on: https://review.typo3.org/48361
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
_.htaccess

index 6c3a83b..a94535f 100644 (file)
@@ -286,8 +286,7 @@ AddDefaultCharset utf-8
        # Access block for folders
        RewriteRule _(?:recycler|temp)_/ - [F]
        RewriteRule fileadmin/templates/.*\.(?:txt|ts)$ - [F]
-       RewriteRule typo3temp/logs/ - [F]
-       RewriteRule ^(vendor|typo3_src) - [F]
+       RewriteRule ^(?:vendor|typo3_src|typo3temp/logs) - [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