The url.Parse function accepts URLs with malformed hosts, such that the Host field can have arbitrary suffixes that appear in neither Hostname() nor Port(), allowing authorization bypasses in certain applications.
{ "imports": [ { "path": "net/url", "symbols": [ "URL.Hostname", "URL.Port", "parseHost" ] } ] }