You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Will Glass-Husain (JIRA)" <ji...@apache.org> on 2011/04/18 20:18:05 UTC

[jira] [Created] (VALIDATOR-293) Email validation fails with dash or hyphen at end of local address

Email validation fails with dash or hyphen at end of local address
------------------------------------------------------------------

                 Key: VALIDATOR-293
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-293
             Project: Commons Validator
          Issue Type: Bug
            Reporter: Will Glass-Husain


These emails fail validation, but shouldn't.

abc-@abc.com
abc_@abc.com

Discovered this when real users with this email pattern couldn't register in my app.

These are correctly working:
abc-def@abc.com
abc_def@abc.com
abc@abc_def.com

WILL

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (VALIDATOR-293) Email validation fails with dash or hyphen at end of local address

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VALIDATOR-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021399#comment-13021399 ] 

Will Glass-Husain commented on VALIDATOR-293:
---------------------------------------------

Sorry.  Typo!  I've tried abc@abc-def.com and it correctly works.

I'll try trunk and see if that helps.  I'm using the @Email tag with spring-modules-validation.  Maybe that affects this in some manner.  I'll report back.



> Email validation fails with dash or hyphen at end of local address
> ------------------------------------------------------------------
>
>                 Key: VALIDATOR-293
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-293
>             Project: Commons Validator
>          Issue Type: Bug
>            Reporter: Will Glass-Husain
>
> These emails fail validation, but shouldn't.
> abc-@abc.com
> abc_@abc.com
> Discovered this when real users with this email pattern couldn't register in my app.
> These are correctly working:
> abc-def@abc.com
> abc_def@abc.com
> abc@abc_def.com
> WILL

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (VALIDATOR-293) Email validation fails with dash or hyphen at end of local address

Posted by "Sebb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VALIDATOR-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021219#comment-13021219 ] 

Sebb commented on VALIDATOR-293:
--------------------------------

abc-@abc.com
abc_@abc.com

work fine in the version of Validator in SVN.

However

abc@abc_def.com

fails validation, as underscore is not allowed in host names.

> Email validation fails with dash or hyphen at end of local address
> ------------------------------------------------------------------
>
>                 Key: VALIDATOR-293
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-293
>             Project: Commons Validator
>          Issue Type: Bug
>            Reporter: Will Glass-Husain
>
> These emails fail validation, but shouldn't.
> abc-@abc.com
> abc_@abc.com
> Discovered this when real users with this email pattern couldn't register in my app.
> These are correctly working:
> abc-def@abc.com
> abc_def@abc.com
> abc@abc_def.com
> WILL

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (VALIDATOR-293) Email validation fails with dash or hyphen at end of local address

Posted by "Nick Burch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VALIDATOR-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Burch resolved VALIDATOR-293.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

This is fixed in svn, and'll be in 1.4 when that's released.

> Email validation fails with dash or hyphen at end of local address
> ------------------------------------------------------------------
>
>                 Key: VALIDATOR-293
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-293
>             Project: Commons Validator
>          Issue Type: Bug
>            Reporter: Will Glass-Husain
>             Fix For: 1.4
>
>
> These emails fail validation, but shouldn't.
> abc-@abc.com
> abc_@abc.com
> Discovered this when real users with this email pattern couldn't register in my app.
> These are correctly working:
> abc-def@abc.com
> abc_def@abc.com
> abc@abc_def.com
> WILL

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira