You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2014/11/01 15:19:33 UTC

[jira] [Resolved] (CODEC-191) Encoding data using Base64OutputStream omits part of the input in some cases

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

Thomas Neidhart resolved CODEC-191.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10

Added clarification to Base32 and Base64 OutputStream in r1635952.

> Encoding data using Base64OutputStream omits part of the input in some cases
> ----------------------------------------------------------------------------
>
>                 Key: CODEC-191
>                 URL: https://issues.apache.org/jira/browse/CODEC-191
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.9
>         Environment: Java 7
>            Reporter: Igor Savin
>            Priority: Minor
>             Fix For: 1.10
>
>
> In case Base64OutputStream is used for encoding byte array produced from some strings, an incomplete result (that is inconsistent with both other Base64 implementations and Base64InputStream implementation) is produced. It appears that "s" character is getting omitted if it's in the end of the string to be encoded; there may be other cases as well.
> Here is the test that allows to reproduce the problem: http://kiberion.net/kibertoad/temp/codec-base64-error.zip



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)