[wp-trac] [WordPress Trac] #21570: is_email_address_unsafe() is too aggressive

WordPress Trac noreply at wordpress.org
Thu Nov 8 01:06:19 UTC 2012


#21570: is_email_address_unsafe() is too aggressive
--------------------------+---------------------
 Reporter:  mdawaffe      |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Users         |     Version:  3.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"22461"]:
 {{{
 #!CommitTicketReference repository="" revision="22461"
 Fix the matching in is_email_address_unsafe(), which was too aggressive.

 We should only check to see if the user's email address has the same
 domain as or is a subdomain of any banned email domain.

 Add a filter.

 props mdawaffe.
 fixes #21570.
 }}}

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


More information about the wp-trac mailing list