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 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]