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

EmailValidator insufficiently strict ("internationalized addresses" always pass as valid)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6, 1.8.0
    • None
    • None
    • None

    Description

      Coming from https://github.com/everit-org/json-schema which uses EMailValidator to validate JSON schema type:

      {
      "type": "string",
      "format": "email"
      }
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: