diff options
| author | Damien Neil <dneil@google.com> | 2026-03-24 14:49:27 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-24 16:14:20 -0700 |
| commit | e5975324c03874b82b62c6c2a4388321edb78e74 (patch) | |
| tree | 37b7d73307473515486b7d560403c2513a6105a4 /src/debug | |
| parent | 4a7132b4b070e65fe28d08a3989897d6a3d65f00 (diff) | |
| download | go-e5975324c03874b82b62c6c2a4388321edb78e74.tar.xz | |
net/url: permit colons in the host subcomponent of non-http/https URLs
Too many systems seem to rely on net/url accepting invalid URLs with
colons in the host subcomponent. Rather than adding exceptions for
each (PostgreSQL, MongoDB, Redis, etc.), limit the strict validation
to http/https only.
For #78077
Change-Id: I1bff324395cce6d7abf816cc875c79676a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/758900
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions
