[
https://issues.apache.org/jira/browse/VALIDATOR-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158380#comment-13158380
]
Nick Burch commented on VALIDATOR-296:
--------------------------------------
I've just added some unit tests in r1207110, and I'm not seeing the problem you
describe. The following new asserts all pass just fine:
assertTrue(
"/ and ! valid in username",
validator.isValid("joe!/[email protected]")
);
assertFalse(
"/ not valid in domain",
validator.isValid("joe@ap/ache.org")
);
assertFalse(
"! not valid in domain",
validator.isValid("joe@apac!he.org")
);
> 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