Actions
Bug #57918
closedPathUtility::getAbsolutePathOfRelativeReferencedFileOrPath() does not comply to documented behaviour
Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend API
Target version:
Start date:
2014-04-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
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
Actions