You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Robert Oschwald (Commented) (JIRA)" <ji...@apache.org> on 2011/10/21 13:44:32 UTC

[jira] [Commented] (VALIDATOR-296) EmailValidator#isValid(String) returns true for "joe@foo/bar.com"

    [ https://issues.apache.org/jira/browse/VALIDATOR-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132605#comment-13132605 ] 

Robert Oschwald commented on VALIDATOR-296:
-------------------------------------------

Are you testing 1.3.1? This version doesn't define isValidEmail()...

joe@foo/bar.com is correctly detected here in 1.3.1, but the pattern 

assertFalse("joe@!foobar.com Validator failed",EmailValidator.getInstance().isValid("joe@!foobar.com"));

fails here. EmailValidator detects this as a valid address.




                
> EmailValidator#isValid(String) returns true for "joe@foo/bar.com"
> -----------------------------------------------------------------
>
>                 Key: VALIDATOR-296
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-296
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 1.3.1 Release
>            Reporter: John Crossman
>
> This assertion fails for me:
> assertFalse(EmailValidator.getInstance().isValidEmail("joe@foo/bar.com"));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira