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-450) EmailValidator : Support new official TLDs
Date Fri, 07 Dec 2018 12:15:00 GMT

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

Sebb resolved VALIDATOR-450.
----------------------------
    Resolution: Implemented

The list of TLDs is always changing, so the code now allows the list to be overridden on startup.

See updateTLDOverride():
https://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/DomainValidator.html#updateTLDOverride(org.apache.commons.validator.routines.DomainValidator.ArrayType,%20java.lang.String[])

> EmailValidator : Support new official TLDs
> ------------------------------------------
>
>                 Key: VALIDATOR-450
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-450
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 1.6
>            Reporter: David
>            Priority: Trivial
>
> isValid(String email) must return true if the email is valid. "john.doe@my-company.sport"
currently returns false.
> The new TLDs (ex. .sport) is not recognize because they are missing from the DomainValidator
class array GENERIC_TLDS.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message