You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jason Chown (JIRA)" <ji...@apache.org> on 2018/05/09 17:49:00 UTC
[jira] [Closed] (VALIDATOR-439) bad£$Email@Something.com is accepted
[ 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)