go-domain-util
go-domain-util copied to clipboard
Accepting Invalid domain patterns.
Just wanted to add some observations. Given package is working awesome, just apart from some basic things.
- If we pass email id as domain its accepting and validating as valid domain name. Need to fix it. (e.g [email protected] is email id and not domain )
- If we pass consecutive dots in the domain name it's accepting and validating as a valid domain name. (e.g google..com, delivery...maxpain.com etc)
Hey,
I brought in a PR. see #16.
Cheers