[
https://issues.apache.org/jira/browse/XERCESC-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Cantor closed XERCESC-1739.
---------------------------------
> Base64 codec adds LF at the end of last line
> --------------------------------------------
>
> Key: XERCESC-1739
> URL: https://issues.apache.org/jira/browse/XERCESC-1739
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.6.0, 1.7.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0,
> 2.6.0, 2.7.0
> Reporter: Vladimir Polegenko
> Priority: Minor
>
> According to RFC2045:
> The encoded output stream must be represented in lines of no more than 76
> characters each. All line breaks or other characters not found in Base64
> Alphabet must be ignored by decoding software. In base64 data, characters
> other than those in Base64 Alphabet, line breaks, and other white space
> probably indicate a transmission error, about which a warning message or even
> a message rejection might be appropriate under some circumstances.
> Therefore, there is no need to add LF at the end of last line.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]