aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Baebler <sbaebler@outbrain.com>2020-03-06 08:21:26 +0000
committerIan Lance Taylor <iant@golang.org>2020-03-06 18:42:56 +0000
commit0e9f7ac7cafd63196952269b14d070d3803cb0d3 (patch)
tree8f4ef17deaa9b49d99b83c4d455d5d8ab93715ff
parente6036e7da5292ce3b6c308499564046ce2c2d3e2 (diff)
downloadgo-0e9f7ac7cafd63196952269b14d070d3803cb0d3.tar.gz
go-0e9f7ac7cafd63196952269b14d070d3803cb0d3.zip
[release-branch.go1.14] doc/go1.14: document that unparsable URL in net/url.Error is now quoted
Updates #37614 Updates #36878 Updates #29384 Fixes #37630 Change-Id: I63dad8b554353197ae0f29fa2a84f17bffa58557 GitHub-Last-Rev: 5297df32200ea5b52b2e7b52c8ee022d37e44111 GitHub-Pull-Request: golang/go#37661 Reviewed-on: https://go-review.googlesource.com/c/go/+/222037 Reviewed-by: Ian Lance Taylor <iant@golang.org> (cherry picked from commit 2b0f481278cc093e9f61945592257e6d651a169c) Reviewed-on: https://go-review.googlesource.com/c/go/+/222317 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r--doc/go1.14.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/go1.14.html b/doc/go1.14.html
index 6e7c5dc9b6..eb35fa8cae 100644
--- a/doc/go1.14.html
+++ b/doc/go1.14.html
@@ -759,6 +759,19 @@ Do not send CLs removing the interior tags from such phrases.
</dd>
</dl><!-- net/textproto -->
+<dl id="net/url"><dt><a href="/pkg/net/url/">net/url</a></dt>
+ <dd>
+ <p><!-- CL 185117 -->
+ When parsing of a URL fails
+ (for example by <a href="/pkg/net/url/#Parse"><code>Parse</code></a>
+ or <a href="/pkg/net/url/#ParseRequestURI"><code>ParseRequestURI</code></a>),
+ the resulting <a href="/pkg/net/url/#Error.Error"><code>Error</code></a> message
+ will now quote the unparsable URL.
+ This provides clearer structure and consistency with other parsing errors.
+ </p>
+ </dd>
+</dl><!-- net/url -->
+
<dl id="os/signal"><dt><a href="/pkg/os/signal/">os/signal</a></dt>
<dd>
<p><!-- CL 187739 -->