[wp-trac] [WordPress Trac] #24001: \s in the regexp destroys some UTF-8 characters in pingback_ping()

WordPress Trac noreply at wordpress.org
Wed Apr 10 06:18:24 UTC 2013


#24001: \s in the regexp destroys some UTF-8 characters in pingback_ping()
------------------------------+--------------------
 Reporter:  tenpura           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.6
Component:  XML-RPC           |     Version:  1.5.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by tenpura):

 Replying to [comment:3 azaozz]:
 > In theory best would be to use the `u`
 [http://php.net/manual/en/reference.pcre.pattern.modifiers.php modifier],
 however that leaves installs with charset other than UTF-8 out in a "grey
 area".
 It seems that PCRE is not always compiled with UTF-8 support. That is
 another drawback of using the u modifier.

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


More information about the wp-trac mailing list