[wp-trac] [WordPress Trac] #10823: Bad handling of ampersand in post titles

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 18 01:10:54 UTC 2011


#10823: Bad handling of ampersand in post titles
---------------------------------+------------------------------
 Reporter:  Commeuneimage        |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Formatting           |     Version:  2.8.4
 Severity:  minor                |  Resolution:
 Keywords:  3.4-early has-patch  |
---------------------------------+------------------------------
Changes (by dd32):

 * keywords:  3.4-early has-patch needs-unit-tests => 3.4-early has-patch


Comment:

 > dd32 * http://unit-tests.trac.wordpress.org/changeset/489 /wp-
 testcase/test_includes_formatting.php: Cover more entity striping cases
 for sanitize_user() and sanitize_title_with_dashes(); See
 http://core.trac.wordpress.org/ticket/10823

 Testing for that was done with/passed with the following regex:
 {{{
 '/&#?\w+;/'
 }}}

 I'm sure the above regex's would probably pass with this still.

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


More information about the wp-trac mailing list