Ram, Feel free to provide a PR on GitHub.
Gary On Sat, Mar 30, 2024, 10:43 PM mogasale.tech <mogasale.t...@gmail.com> wrote: > 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 >