Bug #81709
closedMultiple INCLUDE_TYPOSCRIPT extensions with spaces not working
100%
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()
.
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53337
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53337
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53337
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53337
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53354
Updated by Anonymous over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fc12d545da74cf6abb01540f2dc069d26e7c14c4.