Actions
Bug #75887
closedGeneralUtility::copyDirectory doesn't fix windows paths
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