go/doc/next/6-stdlib/99-minor
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
..
bytes bytes: add Buffer.Peek 2025-11-03 09:39:00 -08:00
crypto crypto/rsa: check PrivateKey.D for consistency with Dp and Dq 2025-09-09 12:32:59 -07:00
database/sql/driver database/sql: allow drivers to override Scan behavior 2025-08-11 14:27:36 -07:00
errors errors: add AsType 2025-09-30 10:22:08 -07:00
go/ast go/ast: add ParseDirective for parsing directive comments 2025-10-21 14:49:10 -07:00
image/jpeg doc/next: document new image/jpeg DCT in release notes 2025-09-25 08:49:17 -07:00
log/slog log/slog: add multiple handlers support for logger 2025-09-04 11:07:44 -07:00
net net/url: disallow raw IPv6 addresses in host 2025-11-12 10:02:50 -08:00
os os: add (*Process).WithHandle 2025-09-15 12:17:42 -07:00
testing cmd/go, testing: add TB.ArtifactDir and -artifacts flag 2025-10-07 14:39:32 -07:00
0-heading.md doc/next: initialize 2025-07-23 11:41:17 -07:00
README doc/next: initialize 2025-07-23 11:41:17 -07:00

API changes and other small changes to the standard library go here.