Skip to content

Commit

Permalink
[release-branch.go1.12] doc/go1.12: document net/url.Parse now reject…
Browse files Browse the repository at this point in the history
…ing ASCII CTLs

Updates #27302
Updates #22907

Change-Id: Iac6957f3517265dfb9c662efb7af31192e3bfd6c
Reviewed-on: https://go-review.googlesource.com/c/162960
Reviewed-by: Ian Lance Taylor <iant@golang.org>
(cherry picked from commit ef454fd)
Reviewed-on: https://go-review.googlesource.com/c/162826
  • Loading branch information
bradfitz committed Feb 16, 2019
1 parent 96d3920 commit fc60d9d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/go1.12.html
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,20 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>

</dl><!-- net/http -->

<dl id="net/url"><dt><a href="/pkg/net/url/">net/url</a></dt>
<dd>
<p><!-- CL 159157, CL 160178 -->
<a href="/pkg/net/url/#Parse"><code>Parse</code></a>,
<a href="/pkg/net/url/#ParseRequestURI"><code>ParseRequestURI</code></a>,
and
<a href="/pkg/net/url/#URL.Parse"><code>URL.Parse</code></a>
now return an
error for URLs containing ASCII control characters, which includes NULL,
tab, and newlines.
</p>

</dl><!-- net/url -->

<dl id="net/http/httputil"><dt><a href="/pkg/net/http/httputil/">net/http/httputil</a></dt>
<dd>
<p><!-- CL 146437 -->
Expand Down

0 comments on commit fc60d9d

Please sign in to comment.