[wp-trac] Re: [WordPress Trac] #5169: Posting from email addresses with "hyphen" cannot be assigned to the user

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 12 02:19:56 GMT 2007


#5169: Posting from email addresses with "hyphen" cannot be assigned to the user
-----------------------------------+----------------------------------------
 Reporter:  giannis1               |        Owner:  anonymous
     Type:  defect                 |       Status:  reopened 
 Priority:  high                   |    Milestone:  2.4      
Component:  General                |      Version:  2.3      
 Severity:  normal                 |   Resolution:           
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Changes (by Bobcat):

  * keywords:  has-patch dev-reviewed => has-patch 2nd-opinion

Comment:

 This patch (wp-mail.php.3.diff) isolates the email address before sending
 it to sanitize_email and is_email.  I also improved the regexp to ignore
 strings that look like an email address if it's followed by a string in
 angle brackets (the string in angle brackets is the real email address);
 handles the case where a quoted string contains an "@" but isn't the real
 email address.  I hope that makes sense.

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


More information about the wp-trac mailing list