[wp-trac] [WordPress Trac] #22363: Accents in attachment filenames should be sanitized
WordPress Trac
noreply at wordpress.org
Wed Jan 23 10:05:14 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):
One more thing: during my tests, I came across a possible workaround.
We can make those files viewable in safari if we convert the filenames to
html in the source code.
When embedding the image into a post, if we link to it with this path (the
code given the Media Uploader):
{{{
<img src="/wp-content/uploads/moiré-pättern.png" alt="møiré pättern"
/>
}}}
It will be broken in Safari. But if we write the link like this:
{{{
<img src="/wp-content/uploads/moire%CC%81-pa%CC%88ttern.png" alt="møiré
pättern" />
}}}
then it will display just fine, although it's exaclty the same file.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22363#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list