diff options
| author | Michael Pratt <mpratt@google.com> | 2026-01-16 12:20:39 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-01-16 09:40:45 -0800 |
| commit | 7251c9e0f00a6d7d37bb441f3e823c160131e9b5 (patch) | |
| tree | 34bfdd0448f7544a8afee9bb64a48783b356ade3 | |
| parent | 532e3203492ebcac67b2f3aa2a52115f49d51997 (diff) | |
| download | go-7251c9e0f00a6d7d37bb441f3e823c160131e9b5.tar.xz | |
doc: fix urlmaxqueryparams typos
Updates #77101.
Change-Id: I6a6a636cd58e1bd01943066368cb1424db6c6a92
Reviewed-on: https://go-review.googlesource.com/c/go/+/737040
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
| -rw-r--r-- | doc/godebug.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/godebug.md b/doc/godebug.md index 184e161c40..90ed63a01a 100644 --- a/doc/godebug.md +++ b/doc/godebug.md @@ -167,8 +167,8 @@ Go 1.26 added a new `urlmaxqueryparams` setting that controls the maximum number of query parameters that net/url will accept when parsing a URL-encoded query string. If the number of parameters exceeds the number set in `urlmaxqueryparams`, parsing will fail early. The default value is `urlmaxqueryparams=10000`. -Setting `urlmaxqueryparams=0`bles the limit. To avoid denial of service attacks, -this setting and default was backported to Go 1.25.4 and Go 1.24.10. +Setting `urlmaxqueryparams=0` disables the limit. To avoid denial of service +attacks, this setting and default was backported to Go 1.25.6 and Go 1.24.12. Go 1.26 added a new `urlstrictcolons` setting that controls whether `net/url.Parse` allows malformed hostnames containing colons outside of a bracketed IPv6 address. |
