|
[
Permlink
| « Hide
]
Julius Davies added a comment - 23/May/09 06:53 PM
I have a patch ready that passes all JUnit (as well as adding a few more JUnit). I just have to work on Javadocs before I submit it. Should be attached within next 24 hours.
Attached patch implements
Here's a comparison of commons-codec-1.3.jar vs. this patch on decoding some examples. The correct decoding is ff7f8fc01cdb471a8c8b5a9306183fe8, which codec-1.3 can only do when the proper final padding ("==") is present.
codec-1.3 (base64 I used is on the right) codec-trunk + patch (base64 I used is on the right) Note: that's a hex representation of the decoded value. The actual decoding is binary (byte[]). The patch includes this example in the new JUnit tests. Patch applied and other changes made.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||