The current regex PATTERN in ..validator.Email requires at least two letters on 
either side of the @.
-----------------------------------------------------------------------------------------------------

         Key: TAPESTRY-862
         URL: http://issues.apache.org/jira/browse/TAPESTRY-862
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 4.0    
 Environment: 4.0
    Reporter: Henrik Jensen


The current PATTERN value in org.apache.tapestry.form.validator.Email do not 
allow single letter domains or single letter names.
Besides, the use of \w allows incorrect email addresses like this  [EMAIL 
PROTECTED],__ 

I believe this new regex pattern conform better to RFC2822,822: 
"^[A-Za-z0-9]+([-_\.]*[A-Za-z0-9]+)[EMAIL 
PROTECTED]([-_\.]*[A-Za-z0-9]+)*(\.[_A-Za-z]{2,6})$"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to