Opened 10 months ago
When uploading media wp_unique_filename() treats capitalisation as being different.
|Reported by:||husobj||Owned by:|
On most web servers "Photo.jpg" and "photo.jpg" can be treated as different files.
The problem is when backing up a local copy (to my Mac) it will not let both these files exist at the same time - it wants to replace one with the other as it treats lowercase and uppercase as the same.
I suggest that we should do the same with uploads so that if "Photo.jpg" exisits and you upload "photo.jpg" is is renamed to a unique name.
I guess this would require a fix in the wp_unique_filename() function.