Skip to content

Commit

Permalink
doc/go1.22: document net/http/cgi changes
Browse files Browse the repository at this point in the history
For golang#61422

Change-Id: If9c3d3ccbfb2061f42ffc26461209c96d38020e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/556395
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Bryan Mills <[email protected]>
  • Loading branch information
neild authored and ezz-no committed Feb 17, 2024
1 parent 8cb4ce2 commit 0a2679c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions doc/go1.22.html
Original file line number Diff line number Diff line change
Expand Up @@ -747,13 +747,17 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
</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> -->
Expand Down

0 comments on commit 0a2679c

Please sign in to comment.