Project

General

Profile

Bug #3055

NEWS: URI Obsoleted methods

Added by znz (Kazuhiro NISHIYAMA) about 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-03-30 trunk 27097) [x86_64-linux]
Backport:
[ruby-dev:40852]

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
-e:1:in
': warning: URI.unescape is obsolete
-e:1:in <main>': warning: URI.escape is obsolete
-e:1:in
': warning: URI.unescape is obsolete
%
=end

History

#1

Updated by naruse (Yui NARUSE) about 9 years ago

=begin

URI に

  • Obsoleted methods:
    • URI#escape
    • URI#unescape とありますが、
    • URI.escape
    • URI.unescape ではないでしょうか?

仰るとおりです。

それから URI.encode と URI.decode でも警告が出ますが、この2個のメソッドも obsolete なのでしょうか?

alias なのでそうです。

どちらもコミットして頂けると助かります。
=end

#2

Updated by Anonymous about 9 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

Also available in: Atom PDF