Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.4
-
None
-
None
Description
When encoding streams longer than 1024 bytes the encoder simply concatenate the base64 version of each 1024 chunk and this is wrong. Base64 streams are only concatenable when the original text length was a multiple of 3. Supporting buffer chunks encoding require keeping the last 1-2 bytes in a buffer and eventually convert them to base64 ending sequences only when the stream is closed.
Attachments
Issue Links
- is related to
-
MIME4J-65 Message.writeTo for an rfc822 part ignoring a "base64" encoding
- Closed