Skip to content

Commit 3ed9769

Browse files
committed
doc/go1.14: document that unparsable URL in net/url/Error is now quoted
Fixes golang#37614 Updates golang#36878
1 parent cd9fd64 commit 3ed9769

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/go1.14.html

+13
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,19 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
759759
</dd>
760760
</dl><!-- net/textproto -->
761761

762+
<dl id="net/url"><dt><a href="/pkg/net/url/">net/url</a></dt>
763+
<dd>
764+
<p><!-- CL 185117 -->
765+
When parsing of an URL fails
766+
(e.g. by <a href="/pkg/net/url/#Parse"><code>Parse</code></a>
767+
or <a href="/pkg/net/url/#ParseRequestURI"><code>ParseRequestURI</code></a>),
768+
the resulting <a href="/pkg/net/url/#Error.Error"><code>Error</code></a> message
769+
will now quote the unparsable URL
770+
for clearer structure and consistency with other parsing errors.
771+
</p>
772+
</dd>
773+
</dl><!-- net/url -->
774+
762775
<dl id="os/signal"><dt><a href="/pkg/os/signal/">os/signal</a></dt>
763776
<dd>
764777
<p><!-- CL 187739 -->

0 commit comments

Comments
 (0)