commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Commented] (VALIDATOR-412) No options for Pseudo TLD
Date Sat, 04 Feb 2017 13:14:52 GMT


Sebb commented on VALIDATOR-412:

You can provide your own overrides to the TLD lists using the DomainValidator#updateTLDOverride

DomainValidator.updateTLDOverride(ArrayType.GENERIC_PLUS, new String[]{"local", "pvt"});

This must be done before getting a validator instance.

> No options for Pseudo TLD
> -------------------------
>                 Key: VALIDATOR-412
>                 URL:
>             Project: Commons Validator
>          Issue Type: Improvement
>            Reporter: Nathan Frost
>            Priority: Minor
> It is currently impossible to validate URL's that have pseudo TLDs such as .local or
.pvt. They will always result in invalid URLs. It would be nice to have an option to accept
these pseudo TLDs.

This message was sent by Atlassian JIRA

View raw message