commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Chown (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (VALIDATOR-439) bad£$Email@Something.com is accepted
Date Wed, 09 May 2018 17:49:00 GMT

     [ https://issues.apache.org/jira/browse/VALIDATOR-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Chown closed VALIDATOR-439.
---------------------------------

> bad£$Email@Something.com 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@Something.com" 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@Something.com"))
>       {
>          throw new RuntimeException("That's not right?!");
>       }
>    }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message