Issue Bug Closed

#89540Overriding definitions with elementBrowserAllowed fails if there are white-spaces

Benni Mack 10/30/19, 11:19 updated 12/23/19, 22:43

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.

Reviews 2