[wp-trac] [WordPress Trac] #22363: Accents in attachment filenames should be sanitized
WordPress Trac
noreply at wordpress.org
Wed Jan 23 09:52:16 UTC 2013
#22363: Accents in attachment filenames should be sanitized
--------------------------+------------------
Reporter: tar.gz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Upload | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by tar.gz):
Above you can see a quick demonstration of how Trac handles the same file.
Trac uses a different approach: all the characters get converted into
html, so the resulting file is actually named
"m%C3%B8ir%C3%A9%20p%C3%A4ttern.png". This works fine in Safari.
Personally, I prefer the "human-readable" approach of WP, which in theory
would result in the file being renamed "moire-pattern.png". But currently
it isn't able to catch all those ugly diacritics.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22363#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list