Skip to content

Commit 0a2679c

Browse files
neildezz-no
authored andcommitted
doc/go1.22: document net/http/cgi changes
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]>
1 parent 8cb4ce2 commit 0a2679c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

doc/go1.22.html

+11-7
Original file line numberDiff line numberDiff line change
@@ -747,13 +747,17 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
747747
</dd>
748748
</dl><!-- net/http -->
749749

750-
<!-- <dl id="net/http/cgi"><dt><a href="/pkg/net/http/cgi/">net/http/cgi</a></dt> -->
751-
<!-- <dd> -->
752-
<!-- <p><\!-- CL 539615 -\-> -->
753-
<!-- 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 -->
754-
<!-- </p> -->
755-
<!-- </dd> -->
756-
<!-- </dl><\!-- net/http/cgi -\-> -->
750+
<dl id="net/http/cgi"><dt><a href="/pkg/net/http/cgi/">net/http/cgi</a></dt>
751+
<dd>
752+
<p><\!-- CL 539615 -\->
753+
When executing a CGI process, the <code>PATH_INFO</code> variable is now
754+
always set to the empty string or a value starting with a <code>/</code> character,
755+
as required by RFC 3875. It was previously possible for some combinations of
756+
<a href="/pkg/net/http/cgi#Handler.Root"><code>Handler.Root</code></a>
757+
and request URL to violate this requirement.
758+
</p>
759+
</dd>
760+
</dl><\!-- net/http/cgi -\->
757761

758762
<!-- <dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt> -->
759763
<!-- <dd> -->

0 commit comments

Comments
 (0)