summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvivshaw <hey@vivsha.ws>2025-06-18 22:10:24 -0400
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-10-31 10:38:11 +0900
commit08e822ba79d6d36f52bf07b06c5014024059b356 (patch)
tree0bd08132a2cc60f008ae02881ea644f85b073442
parent240962dffa59f398d5d61fe37a7bee8dc1ab3d43 (diff)
[ruby/uri] chore(docs): replace reference to the obsolete URI.escape with URI::RFC2396_PARSER.escape
https://github.com/ruby/uri/commit/72e7d6b364
-rw-r--r--lib/uri/common.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 61221fafad..718dc3eb01 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -237,7 +237,7 @@ module URI
# URI.parse('http://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top')
# # => #<URI::HTTP http://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top>
#
- # It's recommended to first ::escape string +uri+
+ # It's recommended to first URI::RFC2396_PARSER.escape string +uri+
# if it may contain invalid URI characters.
#
def self.parse(uri)