commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Crum (JIRA)" <>
Subject [jira] [Commented] (VALIDATOR-341) Make TLD list configurable
Date Wed, 31 Dec 2014 15:50:13 GMT


Adrian Crum commented on VALIDATOR-341:

I agree, an external file would be best.

So, the library will include a copy of the file - called DEFAULT_TLDS.txt or something similar,
and the TLD parser class will search the class path for a tlds-alpha-by-domain.txt file. If
it is found, that file is parsed, otherwise DEFAULT_TLDS.txt is parsed.

What do you think?

> Make TLD list configurable
> --------------------------
>                 Key: VALIDATOR-341
>                 URL:
>             Project: Commons Validator
>          Issue Type: New Feature
>          Components: Framework
>            Reporter: Benedikt Ritter
>              Labels: TLD, domains, email
> Since the list of valid TLDs changes from time to time, it makes sense to let users configure
the list of valid TLDs.

This message was sent by Atlassian JIRA

View raw message