Project

General

Profile

Actions

Bug #57918

closed

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

Added by Markus Klein almost 10 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review almost 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

Actions #2

Updated by Gerrit Code Review almost 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

Actions #3

Updated by Gerrit Code Review almost 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

Actions #4

Updated by Markus Klein almost 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF