[wp-trac] Re: [WordPress Trac] #4616: is_email isn't rfc2822 conformant

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 2 22:29:43 GMT 2007


#4616: is_email isn't rfc2822 conformant
-----------------------+----------------------------------------------------
 Reporter:  hendry     |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:  2.4      
Component:  General    |      Version:           
 Severity:  normal     |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by Bobcat):

 OK, here's a proposal of what we should accept:

  1. Allow local at example.com, where local can contain alphanumeric
 characters plus ! # $ % * / ? | !^ { } ` ~ & ' + - = _ .
  2. As a design goal, check for the restrictions on the placement of the .
 character.
  3. Do not allow the form of email address where the local part is a
 quoted string.  i.e., double quotes would not be allowed.
  4. Blog by Email will accept two forms for the From or Reply-To lines:
 either a plain email address all by itself as defined above, or a name in
 quotes (which is ignored) followed by an email address enclosed in angle
 brackets.
  5. Only one address in the From or Reply-To lines will be used.

 This should handle almost all of the address formats in use.

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


More information about the wp-trac mailing list