[
https://issues.apache.org/jira/browse/CODEC-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090642#comment-17090642
]
Alex Herbert commented on CODEC-288:
------------------------------------
Given you are the first to report this issue it must be something related to
how you are using the code, or the old version. Version 1.5 was released in
2011. If there was a problem in 1.5 we would not release a patch for it. Any
patches would be made on the current version. Thus you would have to update to
get a fix anyway.
Please try the 1.14 version and see if you still have this intermittent failure.
> during Base64 decode for 24 byte length string ,the function returns byte
> array which is less than 18 bytes
> -----------------------------------------------------------------------------------------------------------
>
> Key: CODEC-288
> URL: https://issues.apache.org/jira/browse/CODEC-288
> Project: Commons Codec
> Issue Type: Bug
> Affects Versions: 1.5
> Environment: effected all the stacks
> Reporter: sagarika
> Priority: Major
>
> string of byte length 24 AQAAAAFxB7VyAgAAAAEPEMdg
> returned byte array length :6 ideally it should be of length 18.
>
> public byte[] decode(String pArray) {
> return this.decode(StringUtils.getBytesUtf8(pArray));
> }
--
This message was sent by Atlassian Jira
(v8.3.4#803005)