commons-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/VALIDATOR-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved VALIDATOR-312.
----------------------------
    Resolution: Duplicate

> Extending country code list in DomainValidator
> ----------------------------------------------
>
>                 Key: VALIDATOR-312
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-312
>             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
(v6.3.4#6332)

Mime
View raw message