Actions
Bug #89540
closedOverriding definitions with elementBrowserAllowed fails if there are white-spaces
Status:
Closed
Priority:
Should have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
Start date:
2019-10-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If one wants to create a custom FAL inline element, and creates its "elementBrowserAllowed" list of allowed file extensions (TCA), TYPO3 does not check if there are white-spaces in it, and disallows uploads directly in FormEngine. However, if I upload the file in the FileList and then select the file, this works just fine.
The main bug is that IRRE does not properly check on white-spaces in the allowed file extension lists.
This fails especially if one says "allow png, gif, jpeg only" in a list with comma-separated lists. All other lists are always trimExplode'd.
Actions