[wp-trac] [WordPress Trac] #47467: is_email and PHPMailer validateAddress() method does not match

WordPress Trac noreply at wordpress.org
Tue Aug 18 10:40:01 UTC 2020


#47467: is_email and PHPMailer validateAddress() method does not match
--------------------------+------------------------------
 Reporter:  ggPixel       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Mail          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by david.binda):

 Hello there, and thank you for bringing this up!

 The issue described in the ticket should have been fixed in r48645 , where
 the default validator for validateAddress is set to `is_email`.

 Prior that changeset the `validateAddress` method was in deed using the
 PHPMailer's internal validation, which is not on par with the `is_email`
 function.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47467#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list