[wp-trac] [WordPress Trac] #40289: Uploading 2 files with the same name but different casing, overwrites existing files

WordPress Trac noreply at wordpress.org
Wed Mar 29 13:02:08 UTC 2017


#40289: Uploading 2 files with the same name but different casing, overwrites
existing files
-----------------------------+------------------------------
 Reporter:  quickim          |       Owner:
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Media            |     Version:  4.7.3
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  administration
-----------------------------+------------------------------
Changes (by quickim):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 Tried again, this time even simplified the process and same thing has
 happened:
 Steps:
 1. Create two different images locally (in different folders cos I'm using
 windowz): testy.jpg and TESTY.jpg
 2. Uploaded both directly to the media library
 3. Opened the library and I could see both files in the library with the
 correct thumbnails.
 4. BUT - when I open them (by clicking their name), they both show the
 same image.

 Here are the screenshots of the result in WP:
 https://www.dropbox.com/s/70wfj96po0mr5gm/screenshot1.jpg?dl=0
 https://www.dropbox.com/s/e4zywr31rpuor9b/screenshot2.jpg?dl=0

 And here are the direct links to the images I uploaded to my server:
 http://www.quickim.co.il/wp-content/uploads/2/2017/03/TESTY.jpg
 http://www.quickim.co.il/wp-content/uploads/2/2017/03/testy.jpg

 And lastly, here are the same images, but this time as thumbnails -
 Try opening both in different tabs and then refresh each of them once and
 notice the image actually changes:
 http://www.quickim.co.il/wp-content/uploads/2/2017/03/TESTY-150x150.jpg
 http://www.quickim.co.il/wp-content/uploads/2/2017/03/testy-150x150.jpg

 Thanx again

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40289#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list