Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-384

EmailValidator does not support escaped quotes in a quoted string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • Routines
    • None

    Description

      EmailValidator does not support escaped quotes '\"' within a quoted string as specified by RFC5322 section 3.2.4 as well as in the older RFC2822 section 3.2.5.

      These sections indicate that a quoted string can contain a quoted pair (escaped characters), where a quoted pair is defined as (in RFC5322):

      quoted-pair = ("\" (VCHAR / WSP)) / obs-qp
      VCHAR = %x21-7E; visible (printing) characters

      The " character is %x22 which falls under the definition of VCHAR above.

      Examples:

      "example\"email"@example.org

      Attachments

        1. VALIDATOR-384.patch
          2 kB
          Kris Babic

        Activity

          People

            Unassigned Unassigned
            babster Kris Babic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: