[Trac-tickets] Re: [The Trac Project] #3212: notification email check too strict

The Trac Project noreply at edgewall.com
Tue Jun 6 17:58:38 CDT 2006


#3212: notification email check too strict
-----------------------------------------------------+----------------------
 Reporter:  Dinko Korunic <dinko.korunic at gmail.com>  |        Owner:  eblot   
     Type:  defect                                   |       Status:  assigned
 Priority:  low                                      |    Milestone:  0.11    
Component:  ticket system                            |      Version:  devel   
 Severity:  normal                                   |   Resolution:          
 Keywords:                                           |  
-----------------------------------------------------+----------------------
Comment (by eblot):

 The trouble is that the regex is not used to validate an email address,
 but used to extract email addresses from login and other kinds of
 "username" strings: I don't see an easy way to distinguish an email
 address from another simple username string. Up to now, Trac allows both
 kinds in email-related fields.

 Another option would be to ask the MTA to validate each 'suspected' email
 address, but this solution seems quite complex and may report false
 negatives.

 The RFC(2)822 email address regex is not really usable.[[BR]]
 IMHO, we could improve the existing regex so that it supports `+` and `=`
 chars in email addresses.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/3212>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list