Closed
Description
On all released versions, Get with a literal IPv6 address with a zone identifier fails. For example,
u := &url.URL{Scheme: "http", Host: "[::1%lo0]:8080"}
resp, err := http.DefaultClient.Get(u.String())
and
resp, err := http.Get("http://[::1%lo0]:8080")
return parse http://[::1%lo0]:8080: hexadecimal escape in host
or parse [::1%lo0]:8080: invalid URL escape "%lo"
error. After the fix of #6530, the former works well but the latter still fails.