Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/url: document requirements for IPv6 addresses in URL.Host
When the host subcomponent of a URL is an IPv6 address, it must be surrounded by square brackets to prevent colons in the address from being interpreted as the port: "[fe80::1]:80". Document this requirement. Fixes #61093 Fixes #61276 Change-Id: Iaf411b9dc211fd876468d6e2e94ff672ba0d329d Reviewed-on: https://go-review.googlesource.com/c/go/+/508976 Run-TryBot: Damien Neil <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Joseph Tsai <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
- Loading branch information