Closed AachoLoya closed 8 months ago
IsValidDomain throws an exception if the domain string provided is a TLD e.g. "mil.lv" . It should just return false, instead of throwing an exception because input can't always be sanitized.
I am about to release a new version of the library. There are now fewer exceptions thrown and there is better support for dependency injection.
IsValidDomain throws an exception if the domain string provided is a TLD e.g. "mil.lv" . It should just return false, instead of throwing an exception because input can't always be sanitized.