Project

General

Profile

Actions

Bug #77646

closed

GeneralUtility::getFileAbsFileName should use DIRECTORY_SEPARATOR

Added by Lukas Schmidt about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-08-26
Due date:
% Done:

0%

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

Description

When the function getFileAbsFileName in GeneralUtility is called with $filename being in Windows format, e.g. samplefolder\samplefile.ext, it cannot determine the path because it relies on "/" being the directory separator.

I suggest using DIRECTORY_SEPARATOR instead.

Actions

Also available in: Atom PDF