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 /bootstraptest | |
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 'bootstraptest')
0 files changed, 0 insertions, 0 deletions