Project

General

Profile

Actions

Bug #3055

closed

NEWS: URI Obsoleted methods

Added by znz (Kazuhiro NISHIYAMA) almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
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

Actions #1

Updated by naruse (Yui NARUSE) almost 14 years ago

=begin

URI に

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

仰るとおりです。

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

alias なのでそうです。

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

Actions #2

Updated by Anonymous almost 14 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

Actions

Also available in: Atom PDF

Like0
Like0Like0