Added host/domain name character check