#98005Use sanitized filename as source identifier when replacing an image
Description
Steps to reproduce:
- upload an image with a name like: “straße.txt”
- file will be stored as “strasse.txt”
- open context menu and rename file to “straße.txt”
- choose “overwrite” in the modal window
result:
503
Oops, an error occurred!
File /user_upload/straße.txt does not exist.
Expected:
Flash message:
File "strasse.txt" was not renamed. (Same name as before)