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

WordPress Trac noreply at wordpress.org
Mon Oct 10 07:13:03 UTC 2016


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

Comment (by swissspidy):

 The latest patch does what it says it does, but I'm actually having a hard
 time reproducing this on Safari 10 (macOS Sierra), so I can't tell for
 sure. Images with diacritics are displayed just fine in the media library
 and the front end. The only problem Safari has is with the permalinks,
 i.e.. `example.com/aaâãäåçeeêëiiîïñooôõöuuûüyÿ/` works in Safari, but in
 the other browsers it's
 `example.com/aaa%CC%82a%CC%83a%CC%88a%CC%8Ac%CC%A7eee%CC%82e%CC%88iii%CC%82i%CC%88n%CC%83ooo%CC%82o%CC%83o%CC%88uuu%CC%82u%CC%88yy%CC%88/`,
 which is still a problem with the current patch.

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


More information about the wp-trac mailing list