Bug #3055
NEWS: URI Obsoleted methods
Description
=begin
URI に
- Obsoleted methods:
- URI#escape
- URI#unescape とありますが、
- URI.escape
- URI.unescape ではないでしょうか?
それから URI.encode と URI.decode でも警告が出ますが、この2個のメソッドも obsolete なのでしょうか?
% ruby-trunk -v -r uri -e 'URI.escape("");URI.unescape("");URI.encode("");URI.decode("")'
ruby 1.9.2dev (2010-03-30 trunk 27097) [x86_64-linux]
-e:1:in <main>': warning: URI.escape is obsolete
': warning: URI.unescape is obsolete
-e:1:in
-e:1:in <main>': warning: URI.escape is obsolete
': warning: URI.unescape is obsolete
-e:1:in
%
=end
Updated by naruse (Yui NARUSE) almost 11 years ago
=begin
URI に
- Obsoleted methods:
- URI#escape
- URI#unescape とありますが、
- URI.escape
- URI.unescape ではないでしょうか?
仰るとおりです。
それから URI.encode と URI.decode でも警告が出ますが、この2個のメソッドも obsolete なのでしょうか?
alias なのでそうです。
どちらもコミットして頂けると助かります。
=end
Updated by Anonymous almost 11 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r27120.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end