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
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