You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/12/08 04:34:22 UTC

[jira] Resolved: (TAPESTRY-862) The current regex PATTERN in ..validator.Email requires at least two letters on either side of the @.

     [ http://issues.apache.org/jira/browse/TAPESTRY-862?page=all ]

Jesse Kuhnert resolved TAPESTRY-862.
------------------------------------

    Resolution: Fixed

Thanks!. 

> 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
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.0
>         Environment: 4.0
>            Reporter: Henrik Jensen
>             Fix For: 4.1.1
>
>
> 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  __@__,__ 
> I believe this new regex pattern conform better to RFC2822,822: "^[A-Za-z0-9]+([-_\.]*[A-Za-z0-9]+)*@[A-Za-z0-9]+([-_\.]*[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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org