diff options
| author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-25 12:24:54 +0000 |
|---|---|---|
| committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-25 12:24:54 +0000 |
| commit | 7652a619cb568126a75e5c1b3863e82e15d04dfd (patch) | |
| tree | c06ad17465b2b6e6d0008db5c98abff3a8866ff9 /ChangeLog | |
| parent | d56d9cff4cbab0e796fa4eddb873c1b53dda48c3 (diff) | |
| download | ruby-7652a619cb568126a75e5c1b3863e82e15d04dfd.tar.gz ruby-7652a619cb568126a75e5c1b3863e82e15d04dfd.tar.xz ruby-7652a619cb568126a75e5c1b3863e82e15d04dfd.zip | |
* pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with
RFC 4648. It adds no line feed when encoding, and raise ArgumentError
if the encoded string contains non-alphabet (including CR and LF).
* lib/base64.rb: added. This provides encoding/decoding method for
Base64 in standard RFC 2045, Base64 in standard RFC 4648 and ``Base 64
Encoding with URL and Filename SafeAlphabet'' in RFC 4648.
* test_pack.c, test/base64/test_base64.rb: add tests for above.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Thu Sep 25 21:23:08 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with + RFC 4648. It adds no line feed when encoding, and raise ArgumentError + if the encoded string contains non-alphabet (including CR and LF). + + * lib/base64.rb: added. This provides encoding/decoding method for + Base64 in standard RFC 2045, Base64 in standard RFC 4648 and ``Base 64 + Encoding with URL and Filename SafeAlphabet'' in RFC 4648. + + * test_pack.c, test/base64/test_base64.rb: add tests for above. + Thu Sep 25 21:00:32 2008 Koichi Sasada <ko1@atdot.net> * common.mk: fix btest-* rules [ruby-dev:36528]. |
