Issue Bug Closed

#102659Trailing comma in include_static_file.txt

Thomas Hohn 12/12/23, 12:43 updated 01/30/24, 08:25

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

Reviews 2