Skip to content

Commit ef454fd

Browse files
committed
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 <[email protected]>
1 parent 585c9e8 commit ef454fd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/go1.12.html

+14
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,20 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
694694

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

697+
<dl id="net/url"><dt><a href="/pkg/net/url/">net/url</a></dt>
698+
<dd>
699+
<p><!-- CL 159157, CL 160178 -->
700+
<a href="/pkg/net/url/#Parse"><code>Parse</code></a>,
701+
<a href="/pkg/net/url/#ParseRequestURI"><code>ParseRequestURI</code></a>,
702+
and
703+
<a href="/pkg/net/url/#URL.Parse"><code>URL.Parse</code></a>
704+
now return an
705+
error for URLs containing ASCII control characters, which includes NULL,
706+
tab, and newlines.
707+
</p>
708+
709+
</dl><!-- net/url -->
710+
697711
<dl id="net/http/httputil"><dt><a href="/pkg/net/http/httputil/">net/http/httputil</a></dt>
698712
<dd>
699713
<p><!-- CL 146437 -->

0 commit comments

Comments
 (0)