[wp-trac] [WordPress Trac] #26094: sanitize_file_name() breaks some UTF-8 strings

WordPress Trac noreply at wordpress.org
Sun Nov 17 21:48:59 UTC 2013


#26094: sanitize_file_name() breaks some UTF-8 strings
--------------------------+------------------------------
 Reporter:  p_enrique     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 I think `\p{Z}` might cause a warning if PCRE was compiled without Unicode
 property support:
 {{{
 preg_match() [function.preg-match]: Compilation failed: PCRE does not
 support \L, \l, \N, \P, \p, \U, \u, or \X.
 }}}

 #22692 has a related discussion: [comment:ticket:22692:39].

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26094#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list