+1

Am 31.03.24 um 04:43 schrieb mogasale.tech:
Hi Team,

Here is the proposal to make DomainValidator#isValidDomainSyntax method in
commons-validator library public, currently it is package private. Below
are the reasoning behind the same.

1. In many use cases, products just need to validate the syntax of the
given input. Conformation to the IANA maintained generic TLDs is not
required in such cases. So, DomainValidator#isValid cannot be used as it is
strict about Generic TLDs.

2. Products end up implementing their own regex based implementations. This
is not only error prone, but also wastage of developer productivity to
write and maintain the boilerplate code for something already handled by
this library.

Kindly consider the same and do the needful.

Regards,
Ram

--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fisc...@swe-blog.net


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to