[wp-trac] [WordPress Trac] #14628: sanitize_email() broken

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 17 18:35:09 UTC 2010


#14628: sanitize_email() broken
--------------------------+-------------------------------------------------
 Reporter:  ozh           |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:                 
 Severity:  trivial       |    Keywords:  has-patch      
--------------------------+-------------------------------------------------
 sanitize_email() does not sanitize as expected because of typo in regexp

 {{{
 var_dump( sanitize_email( 'ozh@(ozh).org' ) );
 }}}


 Before patch:

 {{{
 string(13) "ozh@(ozh).org"
 }}}


 After patch:

 {{{
 string(11) "ozh at ozh.org"
 }}}

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


More information about the wp-trac mailing list