Skip to content
Snippets Groups Projects
Commit 5bf7430c authored by Stefan Neufeind's avatar Stefan Neufeind Committed by Helmut Hummel
Browse files

[BUGFIX] Add missing namespacing for calling GeneralUtility

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/25834
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
parent 30e1f413
No related branches found
No related tags found
No related merge requests found
......@@ -857,7 +857,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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment