Project

General

Profile

Actions

Bug #75887

closed

GeneralUtility::copyDirectory doesn't fix windows paths

Added by Jigal van Hemert over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2016-04-23
Due date:
% Done:

100%

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

Description

While iterating a directory the resulting SplFileInfo object produce paths with windows directory separators. These are now passed to upload_copy_move without fixing the directory separators.
Furthermore an SplFileInfo object is passed to upload_copy_move instead of a string (which the function signature requires). Because of PHP type juggling this is converted to a string which happens to result in the path and name of the file.

Actions

Also available in: Atom PDF