aboutsummaryrefslogtreecommitdiff
path: root/uri.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <oleksandr.red+github@gmail.com> 2023-02-11 13:59:44 +0200
committerGravatar GitHub <noreply@github.com> 2023-02-11 19:59:44 +0800
commit5147cecec7d2afedb510e9e5b7a3fb7f35022653 (patch)
treed8242937d34e26d87e407e5648661e6f02e19b1e /uri.go
parentRefactor golangci-lint config and remove redundant nolints (#1486) (diff)
downloadfasthttp-5147cecec7d2afedb510e9e5b7a3fb7f35022653.tar.gz
fasthttp-5147cecec7d2afedb510e9e5b7a3fb7f35022653.tar.bz2
fasthttp-5147cecec7d2afedb510e9e5b7a3fb7f35022653.zip
docs: replace links to golang.org with go.dev (#1489)
- Replace https://godoc.org with https://pkg.go.dev. - Replace https://golang.org with https://go.dev. - Replace https://golang.org/pkg with https://pkg.go.dev. - Replace https://blog.golang.org with https://go.dev/blog. - Use https://pkg.go.dev/golang.org/x/net/http2 instead of non-existing https://http2.golang.org/. - Remove trailing slashes.
Diffstat (limited to 'uri.go')
-rw-r--r--uri.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/uri.go b/uri.go
index 72803b8..374e88a 100644
--- a/uri.go
+++ b/uri.go
@@ -504,7 +504,7 @@ func unescape(s []byte, mode encoding) ([]byte, error) {
// appearing in a URL string, according to RFC 3986.
//
// Please be informed that for now shouldEscape does not check all
-// reserved characters correctly. See golang.org/issue/5684.
+// reserved characters correctly. See https://github.com/golang/go/issues/5684.
//
// Based on https://github.com/golang/go/blob/8ac5cbe05d61df0a7a7c9a38ff33305d4dcfea32/src/net/url/url.go#L100
func shouldEscape(c byte, mode encoding) bool {