You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alessandro Cataldo (JIRA)" <ji...@apache.org> on 2018/07/20 08:09:00 UTC

[jira] [Created] (VALIDATOR-442) EmailValidator and zero-width space

Alessandro Cataldo created VALIDATOR-442:
--------------------------------------------

             Summary: EmailValidator and zero-width space
                 Key: VALIDATOR-442
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-442
             Project: Commons Validator
          Issue Type: Bug
    Affects Versions: 1.6
            Reporter: Alessandro Cataldo


EmailValidator does not take into account category "Cf" in the Unicode specification.

String test = "test@email.com*\u200b*"; //Unicode zero-width space
 boolean valid = EmailValidator.getInstance().isValid(test);
 System.out.println("Is valid: "+valid);

//Returns true



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