Bug #51781
closedIMAGE content object accepts directories
100%
Description
When the path of an image content element is the path to a dirctory and not to a real file it should not be rendered.
I think I found the problem in 6aad338a in \TYPO3\CMS\Core\TypoScript\TemplateService->getFileName().
parse_url()
accepts the path to a directory (e.g. uploads/myextension/) so it will return the path unchanged, even if the file does not exist or is a directory. In the old version of the function it only returned a value if the provided file was a real file.
Updated by Gerrit Code Review about 11 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/25286
Updated by Steffen Ritter about 11 years ago
- Category changed from File Abstraction Layer (FAL) to Content Rendering
- Is Regression set to No
this has nothing to do with FAL
Updated by Gerrit Code Review over 10 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/25286
Updated by Gerrit Code Review about 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/25286
Updated by Gerrit Code Review about 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/25286
Updated by Gerrit Code Review about 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/25286
Updated by Gerrit Code Review about 10 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/25286
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33643
Updated by Tomita Militaru about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 27a224bb22c96f59cf3fc72d1d13e4584729dd11.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed