[wp-trac] [WordPress Trac] #11573: sanitize_text_field() leaves extra whitespace when stripping octets

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 23 09:51:48 UTC 2009


#11573: sanitize_text_field() leaves extra whitespace when stripping octets
--------------------------+-------------------------------------------------
 Reporter:  westi         |       Owner:  westi
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0  
Component:  Formatting    |     Version:  2.9  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 If you sanitize out some octets from a string like:

 {{{We also %AB remove %ab octets}}}

 You get: {{{We also__remove__octets}}}

 Instead of : {{{We also_remove_octets}}}

 Found this while writing test cases for this based on the report in #11528

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11573>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list