[wp-trac] [WordPress Trac] #26094: sanitize_file_name() breaks some UTF-8 strings
WordPress Trac
noreply at wordpress.org
Sun Sep 7 08:32:24 UTC 2014
#26094: sanitize_file_name() breaks some UTF-8 strings
----------------------------------------+-----------------------------
Reporter: p_enrique | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Formatting | Version: 2.1
Severity: normal | Resolution: fixed
Keywords: has-patch commit 4.1-early | Focuses:
----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29715"]:
{{{
#!CommitTicketReference repository="" revision="29715"
Check for [\r\n\t ] instead of \s in sanitize_file_name() to avoid UTF-8
issues.
props p_enrique.
fixes #26094.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26094#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list