[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Updated] (VALIDATOR-487) EmailValidator considers non-ASCII characters valid, assuming RFC 6
From:       "Michael Osipov (Jira)" <jira () apache ! org>
Date:       2024-04-30 18:47:00
Message-ID: JIRA.13507230.1669716830000.49588.1714502820035 () Atlassian ! JIRA
[Download RAW message or body]


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

Michael Osipov updated VALIDATOR-487:
-------------------------------------
    Summary: EmailValidator considers non-ASCII characters valid, assuming RFC 6530 \
(Internationalized Email)  (was: EmailValidator validates too much)

> EmailValidator considers non-ASCII characters valid, assuming RFC 6530 \
>                 (Internationalized Email)
> ------------------------------------------------------------------------------------------------
>  
> Key: VALIDATOR-487
> URL: https://issues.apache.org/jira/browse/VALIDATOR-487
> Project: Commons Validator
> Issue Type: Bug
> Affects Versions: 1.6
> Reporter: Michael Osipov
> Priority: Major
> 
> Coming from https://github.com/everit-org/json-schema which uses {{EMailValidator}} \
> to validate JSON schema type: {noformat}
> {
> "type": "string",
> "format": "email"
> }
> {noformat}
> The problem is that the following email is returned as valid although according to \
> rfc5321#section-4.1.2 local-part/dot-string/atom/atext \
> (https://mailarchive.ietf.org/arch/msg/ietf-smtp/QlSTxHlY6cP6_Xwl6CpDvL5PQLo/) it \
> must only contain ASCII printable chars: {{др.живаго@example.com}}.
> I'd expect that one could validate standard addresses and IDN ones.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic