From 72e7d6b36403192e9b74451ac8c9674b1771cb69 Mon Sep 17 00:00:00 2001 From: vivshaw Date: Wed, 18 Jun 2025 22:10:24 -0400 Subject: [PATCH] chore(docs): replace reference to the obsolete URI.escape with URI::RFC2396_PARSER.escape --- 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 db19e8e..041b2de 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -205,7 +205,7 @@ def self.split(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)