F3\FLOW3\Utility\Files::getUnixStylePath() creates invalid paths on windows
|Priority:||Must have||Due date:|
|Assignee:||Karsten Dambekalns||% Done:||
|Target version:||TYPO3 Flow Base Distribution - 1.0 alpha 3|
|Has patch:||FLOW3 version affected:|
Windows doesn't like the // and fails to create directories later.
Updated by Karsten Dambekalns almost 4 years ago
- Category set to Utility
- Status changed from New to Accepted
Updated by Bastian Waidelich almost 4 years ago
This is a major bug that will kill FLOW3 on Windows with a fatal error.
I'm not sure wheter \F3\FLOW3\Utility\Files::getUnixStylePath() should replaced double slashes at all.. If I provide a path with wrong slashes like "/var/www//foo/" the path is probably invalid anyways..
Attached is a patch that simply skips the replacement of "//" to "/".