summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 17:55:02 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 17:55:02 +0000
commit21b241ab14e4f72207a0ccffa1a8bc3fc2603497 (patch)
tree911445602525ac634a2e1885de4536b95910271b /lib
parent9d4ff5aefc8834ce1a80bc5508181fa88f8db416 (diff)
merge revision(s) 57411: [Backport #13147]
Fix typo of URI#escape [Bug #13147] patched by Steve Hill <sghill.dev@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 c9ea9c8390..ec85bbc1e7 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -82,7 +82,7 @@ module URI
# Escapes the string, replacing all unsafe characters with codes.
#
# This method is obsolete and should not be used. Instead, use
- # CGI.escape, URI.www_form_encode or URI.www_form_encode_component
+ # CGI.escape, URI.encode_www_form or URI.encode_www_form_component
# depending on your specific use case.
#
# == Usage