antoniop
committed
on 30 Jul
Use ns_parseurl to validate the URL and to determine the hostname