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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 30 23:49:20 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):

 Replying to [comment:8 westi]:
 > I think we should concentrate on the more common email address types.

 I guess it depends on how you define "common".  Besides alphanumerics, we
 currently allow - . and _ .  We already have tickets for = and ' .
 Wouldn't it just be easiest to allow all the other special characters ! #
 $ % * / ? | !^ { } ` ~ & + ?

 I can see prohibiting quoted strings in the address.  That allows any
 characters at all, and I can see that as a potential security problem,
 despite assurances to the contrary (so I'm paranoid).

 Regardless, the PEAR class parses out the entire "From:" line, which makes
 life a lot easier even if we don't allow the entire set of addresses.

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


More information about the wp-trac mailing list