[wp-trac] [WordPress Trac] #22363: Accents in attachment filenames should be sanitized
WordPress Trac
noreply at wordpress.org
Mon Aug 29 09:20:43 UTC 2016
#22363: Accents in attachment filenames should be sanitized
--------------------------------------------------+------------------
Reporter: tar.gz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Permalinks | Version: 3.4
Severity: critical | Resolution:
Keywords: needs-testing dev-feedback has-patch | Focuses:
--------------------------------------------------+------------------
Comment (by DrProtocols):
Whilst a little late to the game I would say resolving this issue (and
perhaps if the resolution also extended to transliterating all
international characters in a uploaded filenames and ensuring all lower-
case) would be a massive win in terms of site portability since issues can
often arise with character set support on different platforms and also
case-sensitive vs case-insensitive filesystems.
The IEEE Portable Filename Character Set
(http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html
section 3.276) but with the added condition of lower-case only is an ideal
goal for any uploaded media file.
To paraphrase Shakespeare, "A file by any other name still displays the
same".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22363#comment:76>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list