[wp-trac] [WordPress Trac] #54078: Underscore appended to media file on upload

WordPress Trac noreply at wordpress.org
Tue Sep 7 12:26:21 UTC 2021


#54078: Underscore appended to media file on upload
-------------------------------+------------------------------
 Reporter:  spielautomat4      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Upload             |     Version:  5.8
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  administration
-------------------------------+------------------------------

Comment (by spielautomat4):

 I have done some more testing and can confirm, that it's due to the
 periods in the file name.

 The trailing number is no problem. I have tried with another WordPress
 installation as well.

 **Test case 1:**
 AB-LET.2018.133.AXH1.jpg -> AB-LET.2018.133.AXH1_.jpg [FAULTY]

 **Test case 2:**
 AB-LET.2018.133.AXH.jpg -> AB-LET.2018.133.AXH1_.jpg [FAULTY]

 **Test case 3:**
 AB-LET_2018_133_AXH1.jpg -> AB-LET_2018_133_AXH1.jpg [OK]

 **Test case 4:**
 AB-LET_2018_133_AXH.jpg -> AB-LET_2018_133_AXH.jpg [OK]

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


More information about the wp-trac mailing list