[wp-trac] Re: [WordPress Trac] #5644: wp_kses_normalize_entities regular expression does not use callback

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 29 18:30:37 GMT 2008


#5644: wp_kses_normalize_entities regular expression does not use callback
------------------------+---------------------------------------------------
 Reporter:  darkdragon  |        Owner:  ryan  
     Type:  defect      |       Status:  closed
 Priority:  normal      |    Milestone:  2.6   
Component:  Security    |      Version:        
 Severity:  normal      |   Resolution:  fixed 
 Keywords:  kses        |  
------------------------+---------------------------------------------------
Changes (by ryan):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed wp_kses_bad_protocol_once() with a global hack on allowed_protocols.
 I had it working by var_export()ing allowed_protocols into the callback
 string, but var_export can be messed up if it is run within a containing
 ob_start.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5644#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list