commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] Created: (VALIDATOR-292) [PATCH] @localhost and @localhost.localdomain email addresses aren't correctly detected as valid
Date Wed, 16 Mar 2011 18:39:29 GMT
[PATCH] @localhost and @localhost.localdomain email addresses aren't correctly detected as
valid
------------------------------------------------------------------------------------------------

                 Key: VALIDATOR-292
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-292
             Project: Commons Validator
          Issue Type: Bug
          Components: Routines
    Affects Versions: 1.4
            Reporter: Nick Burch
         Attachments: CommonsValidatorLocalhost.patch

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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message