diff options
author | Damien Neil <dneil@google.com> | 2024-01-17 11:03:15 -0800 |
---|---|---|
committer | Damien Neil <dneil@google.com> | 2024-01-17 20:26:04 +0000 |
commit | 8d04110ce16ecc5cc10e6d5da7678f9c39a222cb (patch) | |
tree | 1740c0ee506b0b82470716e27ab8d09e1c6503c0 /doc | |
parent | 73eff89d0766718c72eea7e54e49d65bd96edc59 (diff) | |
download | go-8d04110ce16ecc5cc10e6d5da7678f9c39a222cb.tar.gz go-8d04110ce16ecc5cc10e6d5da7678f9c39a222cb.zip |
doc/go1.22: document net/http/cgi changes
For #61422
Change-Id: If9c3d3ccbfb2061f42ffc26461209c96d38020e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/556395
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.22.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/go1.22.html b/doc/go1.22.html index b04f50192c..42ca2d5f7b 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -747,13 +747,17 @@ We plan to include an API migration tool in a future release, likely Go 1.23. </dd> </dl><!-- net/http --> -<!-- <dl id="net/http/cgi"><dt><a href="/pkg/net/http/cgi/">net/http/cgi</a></dt> --> -<!-- <dd> --> -<!-- <p><\!-- CL 539615 -\-> --> -<!-- TODO: <a href="https://go.dev/cl/539615">https://go.dev/cl/539615</a>: net/http/cgi: the PATH_INFO should be empty or start with a slash --> -<!-- </p> --> -<!-- </dd> --> -<!-- </dl><\!-- net/http/cgi -\-> --> +<dl id="net/http/cgi"><dt><a href="/pkg/net/http/cgi/">net/http/cgi</a></dt> + <dd> + <p><\!-- CL 539615 -\-> + When executing a CGI process, the <code>PATH_INFO</code> variable is now + always set to the empty string or a value starting with a <code>/</code> character, + as required by RFC 3875. It was previously possible for some combinations of + <a href="/pkg/net/http/cgi#Handler.Root"><code>Handler.Root</code></a> + and request URL to violate this requirement. + </p> + </dd> +</dl><\!-- net/http/cgi -\-> <!-- <dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt> --> <!-- <dd> --> |