Actions
Bug #55299
closedconflictMode rename is not working when uploading file with umlaut
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-01-24
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
To reproduce this:
Upload a file called Müller.jpg via
$file = $folder->getStorage()->addUploadedFile($fileUpload->getFileUploadArray(), $folder, NULL, $conflictMode);
Then again upload a file called Müller.jpg. Normally FAL should create a file called Müller_01.jpg (Mueller_01.jpg).
Erroneously the original file will be overwritten.
The problem is, that FAL checks if Müller.jpg exits, but this file does not exist because it will be renamed in Mueller.jpg after upload.
So FAL uploads the new file, renames it in Mueller.jpg and the original file is overwritten.
Files
Actions