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

isEmail accepts Umlauts and other non-ASCII characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 16198

    Description

      According to the RFC specification, an atom of an email address is any ASCII character from 0 to
      127. The isEmail method accepts any Unicode character (0-65535), resulting in emails with
      Umlauts being accepted.

      isEmail("K├Ânig@domain.com") returns true. It should
      not.

      The regular expressions should be changed to except only ASCII 0-127 atoms.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thomas.jacob@sinnerschrader.com Thomas Jacob
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: