[wp-trac] [WordPress Trac] #49464: wp_kses_hair and wp_kses_hair_parse regex is not allowing digits in attribute names

WordPress Trac noreply at wordpress.org
Wed Feb 19 10:08:40 UTC 2020


#49464: wp_kses_hair and wp_kses_hair_parse regex is not allowing digits in
attribute names
----------------------------------------+---------------------
 Reporter:  codeforest                  |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  5.5
Component:  Formatting                  |     Version:  5.3.2
 Severity:  major                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+---------------------

Comment (by codeforest):

 Replying to [comment:5 dlh]:
 > Somewhat duplicative of #34406 as well.
 In a way, that patch from #34406 has a mistake, as it allows attribute
 names to start with a digit, which is actually not allowed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49464#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list