[wp-trac] [WordPress Trac] #39915: is_email_address_unsafe() throws notice for invalid email addresses

WordPress Trac noreply at wordpress.org
Tue May 9 16:54:54 UTC 2017


#39915: is_email_address_unsafe() throws notice for invalid email addresses
--------------------------------------+-------------------------
 Reporter:  ocean90                   |       Owner:  jeremyfelt
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.8
Component:  Users                     |     Version:  3.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40595"]:
 {{{
 #!CommitTicketReference repository="" revision="40595"
 Multisite: Check only valid looking emails against banned domain list.

 If an email address is missing an `@`, we can't assume enough to check it
 against a list of domain names.

 Additional validation of email should happen in `is_email()` before being
 passed to `is_email_address_unsafe()`.

 Fixes #39915.
 }}}

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


More information about the wp-trac mailing list