[wp-trac] [WordPress Trac] #22363: Accents in attachment filenames should be sanitized

WordPress Trac noreply at wordpress.org
Thu May 28 09:25:06 UTC 2020


#22363: Accents in attachment filenames should be sanitized
--------------------------------------+-----------------------------
 Reporter:  tar.gz                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.5
Component:  Media                     |     Version:  3.4
 Severity:  critical                  |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-----------------------------

Comment (by RavanH):

 Hi @audrasjb hope you are doing fine after the "confinement" :)

 About issue #24661 : I did run into this after moving a site from OVH to
 o2switch where somehow filenames with combination accents are changed in
 admin to filenames with normal accented characters. This makes images
 mysteriously appear blank/missing in the media library sometimes even
 though they are correctly uploaded and present in the uploads directory.
 Still not sure why/how this is happening exactly (there are plugins like
 WPML and Shortpixel running on this particular site, so it might be
 combination of factors) but converting accented characters ''and''
 combination characters in filenames would certainly prevent such issues...

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


More information about the wp-trac mailing list