commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julius Davies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CODEC-77) Base64 bug with empty input (new byte[0])
Date Mon, 13 Jul 2009 22:05:14 GMT

    [ https://issues.apache.org/jira/browse/CODEC-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730548#action_12730548
] 

Julius Davies commented on CODEC-77:
------------------------------------

Note:  codec-1.3 properly encodes empty-byte-array into an empty-byte-array.  So this is a
regression on Trunk caused by the CODEC-69 patch I submitted.

> Base64 bug with empty input (new byte[0])
> -----------------------------------------
>
>                 Key: CODEC-77
>                 URL: https://issues.apache.org/jira/browse/CODEC-77
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Julius Davies
>             Fix For: 1.4
>
>         Attachments: codec-77.patch
>
>
> Base64.encode(new byte[0]) doesn't return an empty byte array back!  It returns CRLF.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message