1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add NEWS and fix ChangeLog.

* new methods:
  * URI.encode_www_form
  * URI.decode_www_form
  * URI.encode_www_form_component
  * URI.decode_www_form_component

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-03-18 00:05:10 +00:00
parent 43ab72099b
commit e0250f59e0
2 changed files with 12 additions and 7 deletions

View file

@ -27,22 +27,22 @@ Thu Mar 18 00:58:27 2010 NARUSE, Yui <naruse@ruby-lang.org>
Thu Mar 18 00:00:58 2010 NARUSE, Yui <naruse@ruby-lang.org>
* lib/uri/common.rb (URI#{en,de}code_www_form_component):
renamed from URI#{en,de}code_www_component. [ruby-dev:40672]
* lib/uri/common.rb (URI.{en,de}code_www_form_component):
renamed from URI.{en,de}code_www_component. [ruby-dev:40672]
* lib/uri/common.rb (URI#encode_www_form_component): %-encoded
* lib/uri/common.rb (URI.encode_www_form_component): %-encoded
element should have always two hex.
* lib/uri/common.rb (URI#encode_www_form_component):
* lib/uri/common.rb (URI.encode_www_form_component):
better treatment for ASCII incompatible encodings and
encodings whose lead byte may use 7bit.
* lib/uri/common.rb (URI#decode_www_form_component): add %20.
* lib/uri/common.rb (URI.decode_www_form_component): add %20.
* lib/uri/common.rb (URI#decode_www_form_component): add
* lib/uri/common.rb (URI.decode_www_form_component): add
result's encoding as 2nd argument.
* lib/uri/common.rb (URI#decode_www_form): added.
* lib/uri/common.rb (URI.decode_www_form): added.
Wed Mar 17 16:25:53 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>

5
NEWS
View file

@ -288,6 +288,11 @@ with all sufficient information, see the ChangeLog file.
* SecureRandom.urlsafe_base64
* URI
* new methods:
* URI.encode_www_form
* URI.decode_www_form
* URI.encode_www_form_component
* URI.decode_www_form_component
* Obsoleted methods:
* URI#escape
* URI#unescape