diff options
| author | Sean Liao <sean@liao.dev> | 2025-10-09 01:56:09 +0100 |
|---|---|---|
| committer | Damien Neil <dneil@google.com> | 2025-10-10 14:47:41 -0700 |
| commit | e3be2d1b2b68d960398a343805f77052d5decb22 (patch) | |
| tree | 0086d366467165a4ccc61e11b9988255026b090f /src/encoding | |
| parent | aced4c79a2b2c60e464410cec1e5378d1011fa18 (diff) | |
| download | go-e3be2d1b2b68d960398a343805f77052d5decb22.tar.xz | |
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.
Fixes #31024
Fixes #75223
Change-Id: I477dc420a7441cb33156627dbd5e46d88c677f1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/710176
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
