[BUGFIX] Add missing namespacing for calling GeneralUtility 29/25829/3
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 1 Dec 2013 11:12:14 +0000 (12:12 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 2 Dec 2013 14:41:57 +0000 (15:41 +0100)
Regression-fix for change from:
https://review.typo3.org/25057

Resolves: #54117
Releases: 6.1, 6.0
Change-Id: I0de156365d4d8f55cb269e0b29e40b7c3dbcf9e5
Reviewed-on: https://review.typo3.org/25829
Reviewed-by: Steffen Ritter
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php

index 4bafaf8..94eadde 100644 (file)
@@ -892,7 +892,7 @@ class TypoScriptParser {
                                        // Write the content to the file
                                        $realFileName = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName($fileName);
                                        // Some file checks
-                                       if (!GeneralUtility::verifyFilenameAgainstDenyPattern($realFileName)) {
+                                       if (!\TYPO3\CMS\Core\Utility\GeneralUtility::verifyFilenameAgainstDenyPattern($realFileName)) {
                                                throw new \UnexpectedValueException(sprintf('File "%s" was not included since it is not allowed due to fileDenyPattern.', $fileName), 1382651858);
                                        }
                                        if (empty($realFileName)) {