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/06 17:13:02 UTC
[jira] [Created] (NET-483) Base64.encodeBase64(byte[], boolean,
boolean, int) does not calculate output size correctly for unchunked output
Sebb created NET-483:
------------------------
Summary: Base64.encodeBase64(byte[], boolean, boolean, int) does not calculate output size correctly for unchunked output
Key: NET-483
URL: https://issues.apache.org/jira/browse/NET-483
Project: Commons Net
Issue Type: Bug
Reporter: Sebb
Priority: Minor
The method Base64.encodeBase64(byte[] binaryData, boolean isChunked, boolean urlSafe, int maxResultSize) fails to calculate the output size correctly for unchunked output.
This is because it assumes all output is chunked.
--
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
[jira] [Resolved] (NET-483) Base64.encodeBase64(byte[], boolean,
boolean, int) does not calculate output size correctly for unchunked output
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved NET-483.
----------------------
Resolution: Fixed
Fix Version/s: 3.2
URL: http://svn.apache.org/viewvc?rev=1395097&view=rev
Log:
NET-483 Base64.encodeBase64(byte[], boolean, boolean, int) does not calculate output size correctly for unchunked output
Added:
commons/proper/net/trunk/src/test/java/org/apache/commons/net/util/
commons/proper/net/trunk/src/test/java/org/apache/commons/net/util/Base64Test.java (with props)
Modified:
commons/proper/net/trunk/src/changes/changes.xml
commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Base64.java
> Base64.encodeBase64(byte[], boolean, boolean, int) does not calculate output size correctly for unchunked output
> ----------------------------------------------------------------------------------------------------------------
>
> Key: NET-483
> URL: https://issues.apache.org/jira/browse/NET-483
> Project: Commons Net
> Issue Type: Bug
> Reporter: Sebb
> Priority: Minor
> Fix For: 3.2
>
>
> The method Base64.encodeBase64(byte[] binaryData, boolean isChunked, boolean urlSafe, int maxResultSize) fails to calculate the output size correctly for unchunked output.
> This is because it assumes all output is chunked.
--
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