[wp-trac] [WordPress Trac] #15379: is_email should be RFC complient

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 12 11:22:02 UTC 2010


#15379: is_email should be RFC complient
-----------------------------+----------------------------------------------
 Reporter:  jorbin           |        Owner:           
     Type:  defect (bug)     |       Status:  closed   
 Priority:  normal           |    Milestone:           
Component:  General          |      Version:           
 Severity:  normal           |   Resolution:  duplicate
 Keywords:  needs-unit-test  |  
-----------------------------+----------------------------------------------
Changes (by nacin):

  * milestone:  Awaiting Review =>


Comment:

 Replying to [comment:8 filosofo]:
 > If we wait until 3.2 with PHP 5.x, we can just do
 >
 > `filter_var( $email, FILTER_VALIDATE_EMAIL )` instead, right?
 Probably not. Those can be buggy. We could potentially leverage it
 internally but we need to watch out for vulnerabilities and what not
 across PHP versions.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15379#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list