Project

General

Profile

Actions

Bug #57918

closed

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

Added by Markus Klein over 10 years ago. Updated about 6 years ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #57447: INCLUDE_TYPOSCRIPT with relative path from static doesn't workClosedMarkus Klein2014-03-31

Actions
Actions

Also available in: Atom PDF