Issue Bug Closed

#57918PathUtility::getAbsolutePathOfRelativeReferencedFileOrPath() does not comply to documented behaviour

Markus Klein 04/15/14, 00:48 updated 10/02/18, 11:58

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

Reviews 1