[Bug] Uploading same image twice results in bad filename
-
I encounter a problem when uploading twice a photo with the same filename.
For testing purposes, I made a clean install of the latest WordPress version with only USP installed. The problem still occurred.
Issue:
When uploading a file the second time, random letters are added to the filename and the dot before the file extension gets removed.
Eg:1. upload of “tree.jpg” -> tree.jpg – like expected
2. upload of “tree.jpg” -> tree-qxK1zHJjAiEsjpg
3. upload of “tree.jpg” -> tree-ESzKVGCJ7P1ijpgAfter testing I included a gallery plugin for you to see the filenames (filename of the thumbnail shows the issue). Please feel free to upload and test yourself – it’s a demo-only website (please scroll down to see the form): https://usptest.uber.space/upload-test/
Thanks for looking into it!
- The topic ‘[Bug] Uploading same image twice results in bad filename’ is closed to new replies.