Project

General

Profile

Actions

Bug #60092

closed

GeneralUtility::getFileAbsFileName does not return an absolute path

Added by Wolfgang Klinger over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2014-07-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

„Returns the absolute filename of a relative reference“

it does not, getFileAbsFileName does not resolve relative references like typo3/../typo3conf/ !
The method should pass the value through realpath before returning it(?)

Actions #1

Updated by Philipp Gampe over 10 years ago

  • Category set to Miscellaneous
  • Status changed from New to Needs Feedback
  • TYPO3 Version changed from 6.2 to 4.5

Are you sure? It does check the path with validPathStr() which returns FALSE for \.. inside the file. Also it checks the beginning of the path with isAbsPath().

Please provide a sample parameter for this function that shows the problem.

Actions #2

Updated by Alexander Opitz almost 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF