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

[PATCH] @localhost and @localhost.localdomain email addresses aren't correctly detected as valid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0 Release
    • 1.4.0 Release
    • Routines
    • None

    Description

      Email addresses of the form <something>@localhost and <something>@localhost.localdomain are valid, but the Email Validator doesn't detect this.

      The attached patch fixes the underlying issue in the domain validator, and adds unit tests for Domain + Email validation of these.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nick Nick Burch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: