ruby-changes:45338
From: naruse <ko1@a...>
Date: Tue, 24 Jan 2017 02:02:13 +0900 (JST)
Subject: [ruby-changes:45338] naruse:r57411 (trunk): Fix typo of URI#escape [Bug #13147]
naruse 2017-01-24 02:02:08 +0900 (Tue, 24 Jan 2017) New Revision: 57411 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57411 Log: Fix typo of URI#escape [Bug #13147] patched by Steve Hill <sghill.dev@g...> Modified files: trunk/lib/uri/common.rb Index: lib/uri/common.rb =================================================================== --- lib/uri/common.rb (revision 57410) +++ lib/uri/common.rb (revision 57411) @@ -82,7 +82,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/common.rb#L82 # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/