[wp-trac] [WordPress Trac] #44191: is_email() function accepts non RFC822

WordPress Trac noreply at wordpress.org
Tue May 22 15:59:25 UTC 2018


#44191: is_email() function accepts non RFC822
--------------------------+-----------------------------
 Reporter:  vonsch        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 is_email() seems to declare non RFC822 compliant addresses as valid email
 address. The following email address came through a WooCommerce shop, the
 email address is altered.

 faaanebencze.lujza. at umail.hu

 due to the '.' at the end of the local part, the email address is not
 valid or RFC822, the logic shall be the follows

 local-part  =  word *("." word)

 still, the above mail address passes. (WooCommerce uses is_email()
 function to determine the email address validity.)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44191>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list