diff --git a/ChangeLog b/ChangeLog index 0ee8c847d464f2..f5841b62bac30d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Sep 7 03:21:40 2009 NARUSE, Yui + + * lib/uri/common.rb (URI.escape): obsoleted. + + * lib/uri/common.rb (URI,unescape): ditto. + Sun Sep 6 18:13:54 2009 Koichi Sasada * vm_insnhelper.h (CALL_SIMPLE_METHOD_IC): make a macro diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 828b2b8a4a5832..9f849c03a42193 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -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 @@ -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