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 /lib | |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uri/common.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |