You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2017/02/05 18:23:42 UTC

[jira] [Resolved] (VALIDATOR-388) Email Validator accepts invalid E-Mail Address

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

Sebb resolved VALIDATOR-388.
----------------------------
    Resolution: Invalid

I disagree; in this case I think Wikipedia is wrong.

RFC 3696  says (page 5):
The exact rule is that any ASCII character, including control characters, may appear quoted, or in a quoted string.

> Email Validator accepts invalid E-Mail Address
> ----------------------------------------------
>
>                 Key: VALIDATOR-388
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-388
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.5.0
>            Reporter: Reto Habluetzel
>         Attachments: validator-388-test.patch
>
>
> According to wikipedia [1], the e-mail address
> ```
> this\ still\"not\\allowed@example.com
> ```
> is invalid. However, the EmailValidator class accepts this as valid.
> 1. https://en.wikipedia.org/wiki/Email_address#Syntax



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)