You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2012/10/09 20:06:03 UTC
[jira] [Commented] (CODEC-160) Base64.encodeBase64URLSafeString
doesn't add padding characters at the end.
[ 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