[wp-trac] [WordPress Trac] #11738: sanitize_text_field() issue with UTF-8 characters

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 07:39:54 UTC 2010


#11738: sanitize_text_field() issue with UTF-8 characters
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.9.2      
Component:  General       |     Version:  2.9.1      
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 See Description #11528

 Suggested patch does not take UTF-8 properly into account. Function has
 been degraded in the commit(s) [12499], [12501] to not support shift-
 spaces any longer. Details about preg_replace and UTF-8 as well as a
 proper suggestion to fix w/o degration
 [https://core.trac.wordpress.org/ticket/11528#comment:10 here].

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


More information about the wp-trac mailing list