Issue Bug Closed

#75887GeneralUtility::copyDirectory doesn't fix windows paths

Jigal van Hemert 04/23/16, 20:35 updated 05/07/19, 12:17

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.

Reviews 1