[ 
https://issues.apache.org/jira/browse/VALIDATOR-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18069960#comment-18069960
 ] 

Rafał Figas commented on VALIDATOR-442:
---------------------------------------

Accordingly to [[RFC 
5892|[https://datatracker.ietf.org/doc/html/rfc5892|https://datatracker.ietf.org/doc/html/rfc5892)]]]
 in [[Appendix 
B.1|[https://datatracker.ietf.org/doc/html/rfc5892#appendix-B.1]]] those 
characters (among many others) are not allowed to be used in domain names 
(especially because of phishing risks):

 

!image-2026-03-31-17-20-01-002.png!

> 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
>            Priority: Minor
>         Attachments: image-2026-03-31-17-20-01-002.png
>
>
> EmailValidator does not take into account category "Cf" in the Unicode 
> specification.
> String test = "[email protected]*\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
(v8.20.10#820010)

Reply via email to