Uploading media file with same sanitized filename as existing file will overwrite existing file.
|Reported by:||markjaquith||Owned by:||neodude|
|Milestone:||2.5||Priority:||highest omg bbq|
- Upload "test.png" with dimensions X1xY1
- Upload a different file that is also named "test.png" with dimensions X2xY2
The second test.png will overwrite the first, although the first will keep its dimensions of X1xY1, so it will be squished or stretched out.
Blocker, because someone your original file is GONE without any warning.
Desired outcome: test-N.jpg where N is an integer that increments as high as it needs to go to avoid overwriting an existing file.
Change History (5)
- Owner changed from anonymous to neodude
- Status changed from new to assigned