[
https://issues.apache.org/jira/browse/VALIDATOR-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16469190#comment-16469190
]
Jason Chown commented on VALIDATOR-439:
---------------------------------------
Ah, I wasn't aware of SMTPUTF8, I am showing my age!
Thanks for the quick response.
> bad£[email protected] is accepted
> ------------------------------------
>
> Key: VALIDATOR-439
> URL: https://issues.apache.org/jira/browse/VALIDATOR-439
> Project: Commons Validator
> Issue Type: Bug
> Affects Versions: 1.6
> Reporter: Jason Chown
> Priority: Major
>
> By chance we chose the string "bad£[email protected]" as a test string,
> but it passes validation?!
> e.g.
>
> {code:java}
> import org.apache.commons.validator.routines.EmailValidator;
> public class TryEmailValidator
> {
> public static void main(String[] args)
> {
> if (EmailValidator.getInstance().isValid("bad£[email protected]"))
> {
> throw new RuntimeException("That's not right?!");
> }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)