From 0e9f7ac7cafd63196952269b14d070d3803cb0d3 Mon Sep 17 00:00:00 2001 From: Stefan Baebler Date: Fri, 6 Mar 2020 08:21:26 +0000 Subject: [PATCH] [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 (cherry picked from commit 2b0f481278cc093e9f61945592257e6d651a169c) Reviewed-on: https://go-review.googlesource.com/c/go/+/222317 Run-TryBot: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov --- doc/go1.14.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/go1.14.html b/doc/go1.14.html index 6e7c5dc9b62ffa..eb35fa8cae9d46 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -759,6 +759,19 @@

Minor changes to the library

+
net/url
+
+

+ When parsing of a URL fails + (for example by Parse + or ParseRequestURI), + the resulting Error message + will now quote the unparsable URL. + This provides clearer structure and consistency with other parsing errors. +

+
+
+
os/signal