diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-13 12:31:30 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-13 12:31:30 +0000 |
commit | 6b6680945ed3274cddbc34fdfd410d74081a3e94 (patch) | |
tree | a6fbc45f4dc61849dd61e5c62d3c358bd7ad85ab /NEWS | |
parent | b4974e71dcb32d430d7d686c5de247218991ec6c (diff) |
* lib/base64.rb: make urlsafe mode user-friendly.
* lib/base64.rb (Base64.urlsafe_encode64): a new option "padding" to
suppress the padding character ("=").
* lib/base64.rb (Base64.urlsafe_decode64): now it accepts not only
correctly-padded input but also unpadded input.
[Feature #10740][ruby-core:67570]
* test/base64/test_base64.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -38,6 +38,12 @@ with all sufficient information, see the ChangeLog file. * lib/drb/drb.rb * removed unused argument. https://github.com/ruby/ruby/pull/515 +* lib/base64.rb + * Base64.urlsafe_encode64: added a "padding" option to suppress + the padding character ("="). + * Base64.urlsafe_decode64: now it accepts not only correctly-padded + input but also unpadded input. + === Built-in global variables compatibility issues === C API updates |