[wp-trac] [WordPress Trac] #22363: Accents in attachment filenames should be sanitized
WordPress Trac
noreply at wordpress.org
Mon Oct 10 21:38:19 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 mikeschroder):
Replying to [comment:92 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.
I also had a hard time reproducing it until I realized that the upload had
to happen with a browser other than Safari, as a believe @gitlost is
referencing above. Once I uploaded with Chrome, then followed up with a
test on Safari, I saw the bug.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22363#comment:95>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list