From 08e822ba79d6d36f52bf07b06c5014024059b356 Mon Sep 17 00:00:00 2001 From: vivshaw Date: Wed, 18 Jun 2025 22:10:24 -0400 Subject: [ruby/uri] chore(docs): replace reference to the obsolete URI.escape with URI::RFC2396_PARSER.escape https://github.com/ruby/uri/commit/72e7d6b364 --- lib/uri/common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') # # => # # - # 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) -- cgit v1.2.3