#57918PathUtility::getAbsolutePathOfRelativeReferencedFileOrPath() does not comply to documented behaviour
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