diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2019-02-15 23:42:32 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-02-16 00:03:15 +0000 |
commit | fc60d9dd6ee3163c88a25803a082d462eac3e78d (patch) | |
tree | 401d6ef00c8cf18a43d7205dc97134039f4fc925 | |
parent | 96d39207d1e736f3270b8f4a2de33fdd446e4ac3 (diff) | |
download | go-fc60d9dd6ee3163c88a25803a082d462eac3e78d.tar.gz go-fc60d9dd6ee3163c88a25803a082d462eac3e78d.zip |
[release-branch.go1.12] doc/go1.12: document net/url.Parse now rejecting 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 ef454fd586ee30d8b35b5895320619ebde2beb98)
Reviewed-on: https://go-review.googlesource.com/c/162826
-rw-r--r-- | doc/go1.12.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/go1.12.html b/doc/go1.12.html index fda61a69a7..1b937fdd79 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -694,6 +694,20 @@ for { </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 --> |