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 2016/01/07 16:21:39 UTC

[jira] [Updated] (VALIDATOR-384) EmailValidator does not support escaped quotes in a quoted string

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

Sebb updated VALIDATOR-384:
---------------------------
    Affects Version/s:     (was: 1.4.1 Release)
                       1.5.0

> EmailValidator does not support escaped quotes in a quoted string
> -----------------------------------------------------------------
>
>                 Key: VALIDATOR-384
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-384
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.5.0
>            Reporter: Kris Babic
>         Attachments: VALIDATOR-384.patch
>
>
> EmailValidator does not support escaped quotes '\"' within a quoted string as specified by [RFC5322 section 3.2.4|https://tools.ietf.org/html/rfc5322#page-13] as well as in the older [RFC2822 section 3.2.5|https://tools.ietf.org/html/rfc2822#page-13].  
> These sections indicate that a quoted string can contain a quoted pair (escaped characters), where a quoted pair is defined as (in RFC5322):
> {quote}
>    quoted-pair     =   ("\" (VCHAR / WSP)) / obs-qp
>    VCHAR = %x21-7E; visible (printing) characters
> {quote}
> The " character is %x22 which falls under the definition of VCHAR above.
> Examples: 
> {quote}
>   "example\"email"@example.org
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)