Actions
Bug #102659
closedTrailing comma in include_static_file.txt
Start date:
2023-12-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If an entry in include_static_file.txt has a trailing comma,
the #1651137904 RuntimeException is thrown:
Single include_static_file does not start with "EXT:":
There seems to be a missing true in the line to filter empty entries:
$includeStaticFileFileIncludeArray = array_unique(GeneralUtility::trimExplode(',', $includeStaticFileFileIncludeContent));
in the class TYPO3\CMS\Core\TypoScript\IncludeTree\SysTemplateTreeBuilder in the function handleSingleIncludeStaticFile
Actions