Bug #89540
closedOverriding definitions with elementBrowserAllowed fails if there are white-spaces
100%
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.
Updated by Gerrit Code Review about 5 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/c/Packages/TYPO3.CMS/+/62155
Updated by Gerrit Code Review about 5 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/c/Packages/TYPO3.CMS/+/62155
Updated by Gerrit Code Review about 5 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/c/Packages/TYPO3.CMS/+/62155
Updated by Gerrit Code Review about 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62139
Updated by Benni Mack about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0c34cdf11a1c754ac28cdaf0a5b4b5b40f749b6a.
Updated by Gerrit Code Review about 5 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62139
Updated by Gerrit Code Review about 5 years ago
Patch set 3 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62139
Updated by Benni Mack about 5 years ago
- Status changed from Under Review to Resolved
Applied in changeset 71673a3ad8e95f03248fb5b8f2c72d2901c61713.