#8038: email address validator does not accept + in addresses
-------------------------+--------------------------------------------------
   Reporter:  ddrake     |       Owner:  was         
       Type:  defect     |      Status:  needs_review
   Priority:  major      |   Milestone:  sage-4.3.2  
  Component:  notebook   |    Keywords:              
     Author:  Dan Drake  |    Upstream:  N/A         
   Reviewer:             |      Merged:              
Work_issues:             |  
-------------------------+--------------------------------------------------

Comment(by mpatel):

 [http://www.dominicsayers.com/isemail/ These]
 [http://fightingforalostcause.net/misc/2006/compare-email-regex.php sites]
 have test results for several increasingly complex validators.

 It seems the main remaining sources of false negatives in `is_valid_email`
 are

  * Other special characters not in quoted strings:
 `!def!xyz%[email protected]`

  * IP addresses:  `first.l...@[12.34.56.78]`,
 `first.l...@[ipv6:1111:2222:3333::4444:5555:6666]`

  * Quoted strings:  `first."mid\dle"."l...@st name"@example.com`  (`\` can
 escape anything but must escape something)

  * Top-level-domains (TLDs) of any length:  `[email protected]`

  * Comments, possibly nested:  `a(a(b(c],d(e(f],],g],h(i],j],@example.com`

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8038#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to