From 7372b64425eda6725fb84be71d6a3c4415b35d0d Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Sat, 22 Mar 2025 01:15:22 +0000 Subject: [PATCH] net/url: document referenced RFCs Fixes #30611 Change-Id: If933c2a7e63d89402d2034618057ad546cf9641b Reviewed-on: https://go-review.googlesource.com/c/go/+/660077 Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Damien Neil --- src/net/url/url.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/net/url/url.go b/src/net/url/url.go index 3acde9fb0f..8786d9655b 100644 --- a/src/net/url/url.go +++ b/src/net/url/url.go @@ -3,12 +3,14 @@ // license that can be found in the LICENSE file. // Package url parses URLs and implements query escaping. +// +// See RFC 3986. This package generally follows RFC 3986, except where +// it deviates for compatibility reasons. +// RFC 6874 followed for IPv6 zone literals. package url -// See RFC 3986. This package generally follows RFC 3986, except where -// it deviates for compatibility reasons. When sending changes, first -// search old issues for history on decisions. Unit tests should also -// contain references to issue numbers with details. +// When sending changes, first search old issues for history on decisions. +// Unit tests should also contain references to issue numbers with details. import ( "errors" -- 2.50.0