commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Resolved] (VALIDATOR-312) Extending country code list in DomainValidator
Date Mon, 05 Jan 2015 01:23:34 GMT


Sebb resolved VALIDATOR-312.
    Resolution: Duplicate

> Extending country code list in DomainValidator
> ----------------------------------------------
>                 Key: VALIDATOR-312
>                 URL:
>             Project: Commons Validator
>          Issue Type: New Feature
>          Components: Routines
>    Affects Versions: 1.4.0 Release
>         Environment: Java
>            Reporter: Haytham
>              Labels: patch
> The validation of the country code in DomainValidator, used in EmailValidator, is done
according to a fixed list of country code list.
> This is not practical as this list is usually updated, so the check fails for new countries
(e.g. South Sudan '.ss').
> The DomainValidator is singleton with private constructor so it is not possible to subclass
it. We need to provide in someway an updated list so check will not fail.

This message was sent by Atlassian JIRA

View raw message