commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CODEC-160) Base64.encodeBase64URLSafeString doesn't add padding characters at the end.
Date Tue, 09 Oct 2012 18:06:03 GMT

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

Sebb commented on CODEC-160:
----------------------------

This appears to be deliberate; see comments in the method:

Base64.encode(byte[] in, int inPos, int inAvail, Context context)
                
> Base64.encodeBase64URLSafeString doesn't add padding characters at the end.
> ---------------------------------------------------------------------------
>
>                 Key: CODEC-160
>                 URL: https://issues.apache.org/jira/browse/CODEC-160
>             Project: Commons Codec
>          Issue Type: Bug
>            Reporter: Jan Ivenz
>              Labels: base64
>
> If the url safe method is used the padding characters are missing, resulting in a too
short string as output.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message