Skip to content

Commit

Permalink
* lib/uri/common.rb (URI.escape): obsoleted.
Browse files Browse the repository at this point in the history
* lib/uri/common.rb (URI,unescape): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Sep 6, 2009
1 parent f1e9808 commit 238b979
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
Mon Sep 7 03:21:40 2009 NARUSE, Yui <naruse@ruby-lang.org>

* lib/uri/common.rb (URI.escape): obsoleted.

* lib/uri/common.rb (URI,unescape): ditto.

Sun Sep 6 18:13:54 2009 Koichi Sasada <ko1@atdot.net>

* vm_insnhelper.h (CALL_SIMPLE_METHOD_IC): make a macro
Expand Down
2 changes: 2 additions & 0 deletions lib/uri/common.rb
Expand Up @@ -501,6 +501,7 @@ module Escape
# # => "@%3F@%21"
#
def escape(*arg)
warn "#{caller(1)[0]}: warning: URI.escape is obsolete" if $VERBOSE
DEFAULT_PARSER.escape(*arg)
end
alias encode escape
Expand All @@ -526,6 +527,7 @@ def escape(*arg)
# # => "http://example.com/?a=\t\r"
#
def unescape(*arg)
warn "#{caller(1)[0]}: warning: URI.unescape is obsolete" if $VERBOSE
DEFAULT_PARSER.unescape(*arg)
end
alias decode unescape
Expand Down

0 comments on commit 238b979

Please sign in to comment.