url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.
CWE-425, CWE-1286