diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-23 17:02:08 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-23 17:02:08 +0000 |
commit | 6219b68fb53a77a221f615d47dde83fea0a7e7c8 (patch) | |
tree | c44f3d8e5ed2c6f6f166281f18f20afbe2354efa /lib | |
parent | 7c1b30a602ab109d8d5388d7dfb3c5b180ba24e1 (diff) | |
download | ruby-6219b68fb53a77a221f615d47dde83fea0a7e7c8.tar.gz |
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/trunk@57411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uri/common.rb | 2 |
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 |