Security Issue - potentially-malicious domains

#Verify potentially-malicious domains - based on Django recent Patch
In other case it could be a potential SQL Injection in query instance

Hostnames must consist of characters [A-Za-z0-9] plus hyphen ('-') or dot ('.').
IP addresses -- both IPv4 and IPv6 -- are permitted.
Port, if specified, is numeric.