Bug #57918
closedPathUtility::getAbsolutePathOfRelativeReferencedFileOrPath() does not comply to documented behaviour
100%
Description
First parameter $baseFilenameOrPath
of PathUtility::getAbsolutePathOfRelativeReferencedFileOrPath() is specified to:
The name of the file or a path that serves as a base; a path will need to have a '/' at the end
But the function completely misses the check for the trailing slash. Also no unit test is present for this case.
Affected are 6.2 and 6.1
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted 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/29467
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/29467
Updated by Gerrit Code Review over 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 https://review.typo3.org/29467
Updated by Markus Klein over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c87150d032a2e36266a1e55288862eb6f8fa435e.