commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VALIDATOR-388) Email Validator accepts invalid E-Mail Address
Date Sun, 05 Feb 2017 18:23:42 GMT

     [ 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)

Mime
View raw message