diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-06 18:24:53 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-06 18:24:53 +0000 |
commit | e698bf0ec5ca3f41d4115070261bd3e8c5aa32dd (patch) | |
tree | 7e602900ff3de3616fd681b763b25a5b14283c57 | |
parent | caa36ef95594ed80bd8b01fbdb3fecbe7f8ff32f (diff) | |
download | ruby-e698bf0ec5ca3f41d4115070261bd3e8c5aa32dd.tar.gz ruby-e698bf0ec5ca3f41d4115070261bd3e8c5aa32dd.tar.xz ruby-e698bf0ec5ca3f41d4115070261bd3e8c5aa32dd.zip |
* lib/uri/common.rb (URI.escape): obsoleted.
* lib/uri/common.rb (URI,unescape): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/uri/common.rb | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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 diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 828b2b8a4..9f849c03a 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -501,6 +501,7 @@ module URI # # => "@%3F@%21" # def escape(*arg) + warn "#{caller(1)[0]}: warning: URI.escape is obsolete" if $VERBOSE DEFAULT_PARSER.escape(*arg) end alias encode escape @@ -526,6 +527,7 @@ module URI # # => "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 |