[
https://issues.apache.org/jira/browse/MIME4J-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Wiederkehr resolved MIME4J-66.
-------------------------------------
Resolution: Fixed
Assignee: Markus Wiederkehr
Resolved by using Base64OutputStream instead of Base64Encoder in
CodecUtil.encodeBase64(). Base64OutputStream always terminates the output with
exactly one line separator.
> Base64Encoder sometimes add one additional CRLF
> -----------------------------------------------
>
> Key: MIME4J-66
> URL: https://issues.apache.org/jira/browse/MIME4J-66
> Project: JAMES Mime4j
> Issue Type: Bug
> Affects Versions: 0.4
> Reporter: Stefano Bagnara
> Assignee: Markus Wiederkehr
> Priority: Minor
> Fix For: 0.6
>
>
> When the last line is 76 chars the Base64 stream adds a further \r\n.
> It should be added before the 77th chars and not after the 76th.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]