summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/random/formatter.rb2
-rw-r--r--lib/uri.rb18
-rw-r--r--lib/uri/generic.rb2
-rw-r--r--lib/uri/http.rb4
4 files changed, 13 insertions, 13 deletions
diff --git a/lib/random/formatter.rb b/lib/random/formatter.rb
index 0548e86cca..037f9d8748 100644
--- a/lib/random/formatter.rb
+++ b/lib/random/formatter.rb
@@ -165,7 +165,7 @@ module Random::Formatter
#
# The result contains 122 random bits (15.25 random bytes).
#
- # See RFC4122[https://datatracker.ietf.org/doc/html/rfc4122] for details of UUID.
+ # See RFC4122[https://www.rfc-editor.org/rfc/rfc4122] for details of UUID.
#
def uuid
ary = random_bytes(16)
diff --git a/lib/uri.rb b/lib/uri.rb
index cd8083b65a..dfdb052a79 100644
--- a/lib/uri.rb
+++ b/lib/uri.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: false
# URI is a module providing classes to handle Uniform Resource Identifiers
-# (RFC2396[https://datatracker.ietf.org/doc/html/rfc2396]).
+# (RFC2396[https://www.rfc-editor.org/rfc/rfc2396]).
#
# == Features
#
@@ -47,14 +47,14 @@
# A good place to view an RFC spec is http://www.ietf.org/rfc.html.
#
# Here is a list of all related RFC's:
-# - RFC822[https://datatracker.ietf.org/doc/html/rfc822]
-# - RFC1738[https://datatracker.ietf.org/doc/html/rfc1738]
-# - RFC2255[https://datatracker.ietf.org/doc/html/rfc2255]
-# - RFC2368[https://datatracker.ietf.org/doc/html/rfc2368]
-# - RFC2373[https://datatracker.ietf.org/doc/html/rfc2373]
-# - RFC2396[https://datatracker.ietf.org/doc/html/rfc2396]
-# - RFC2732[https://datatracker.ietf.org/doc/html/rfc2732]
-# - RFC3986[https://datatracker.ietf.org/doc/html/rfc3986]
+# - RFC822[https://www.rfc-editor.org/rfc/rfc822]
+# - RFC1738[https://www.rfc-editor.org/rfc/rfc1738]
+# - RFC2255[https://www.rfc-editor.org/rfc/rfc2255]
+# - RFC2368[https://www.rfc-editor.org/rfc/rfc2368]
+# - RFC2373[https://www.rfc-editor.org/rfc/rfc2373]
+# - RFC2396[https://www.rfc-editor.org/rfc/rfc2396]
+# - RFC2732[https://www.rfc-editor.org/rfc/rfc2732]
+# - RFC3986[https://www.rfc-editor.org/rfc/rfc3986]
#
# == Class tree
#
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb
index baa6a4c34c..bdd366661e 100644
--- a/lib/uri/generic.rb
+++ b/lib/uri/generic.rb
@@ -945,7 +945,7 @@ module URI
# == Description
#
# URI has components listed in order of decreasing significance from left to right,
- # see RFC3986 https://tools.ietf.org/html/rfc3986 1.2.3.
+ # see RFC3986 https://www.rfc-editor.org/rfc/rfc3986 1.2.3.
#
# == Usage
#
diff --git a/lib/uri/http.rb b/lib/uri/http.rb
index 306daf1965..900b132c8c 100644
--- a/lib/uri/http.rb
+++ b/lib/uri/http.rb
@@ -85,7 +85,7 @@ module URI
# == Description
#
# Returns the authority for an HTTP uri, as defined in
- # https://datatracker.ietf.org/doc/html/rfc3986/#section-3.2.
+ # https://www.rfc-editor.org/rfc/rfc3986#section-3.2.
#
#
# Example:
@@ -106,7 +106,7 @@ module URI
# == Description
#
# Returns the origin for an HTTP uri, as defined in
- # https://datatracker.ietf.org/doc/html/rfc6454.
+ # https://www.rfc-editor.org/rfc/rfc6454.
#
#
# Example: