You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2017/07/10 16:15:00 UTC

[jira] [Resolved] (XERCESC-1739) Base64 codec adds LF at the end of last line

     [ https://issues.apache.org/jira/browse/XERCESC-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor resolved XERCESC-1739.
-----------------------------------
    Resolution: Won't Fix

There's also no reason to care if it does add one, so changing the behavior is a needless change at this point.

> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org