#81709Multiple INCLUDE_TYPOSCRIPT extensions with spaces not working
Description
The following TypoScript snippet won’t include files with anything but the first file extension:
<INCLUDE_TYPOSCRIPT: source="DIR: ./Library" extensions="ts, setupts, tx">
The reason is the space after the comma which in the end lets TypoScriptParser::includeDirectory() (more specifically GeneralUtility::getFilesInDir() handle them as “@ts@”, “@ setupts@” and “@ tx@” (mind the leading space).
This should probably cleaned up with GeneralUtility::trimExplode().