go/doc/next
Sean Liao 0c28789bd7 net/url: disallow raw IPv6 addresses in host
RFC 3986 requires square brackets around IPv6 addresses.
Parse's acceptance of raw IPv6 addresses is non compliant,
and complicates splitting out a port.

This is a resubmission of CL 710176 after the revert in CL 711800,
this time with a new urlstrictipv6 godebug to control the behavior.

Fixes #31024
Fixes #75223

Change-Id: I4cbe5bb84266b3efe9c98cf4300421ddf1df7291
Reviewed-on: https://go-review.googlesource.com/c/go/+/712840
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2025-11-12 10:02:50 -08:00
..
6-stdlib net/url: disallow raw IPv6 addresses in host 2025-11-12 10:02:50 -08:00
1-intro.md doc/next: initialize 2025-07-23 11:41:17 -07:00
2-language.md doc/next: improve new(expr) release note 2025-10-22 20:30:59 -07:00
3-tools.md cmd/go: unify "go fix" and "go vet" 2025-10-10 13:10:21 -07:00
4-runtime.md doc/next: initialize 2025-07-23 11:41:17 -07:00
5-toolchain.md cmd/link: internal linking support for windows/arm64 2025-10-27 22:57:10 -07:00
7-ports.md all: remove support for windows/arm 2025-08-06 14:28:12 -07:00