[ http://issues.apache.org/jira/browse/GERONIMO-1953?page=all ]
Rick McGuire resolved GERONIMO-1953:
------------------------------------
Resolution: Fixed
Committed revision 398574.
Also added unit test for all encode()/decode() streams.
> MimeUtility uuencode support has multiple bugs.
> -----------------------------------------------
>
> Key: GERONIMO-1953
> URL: http://issues.apache.org/jira/browse/GERONIMO-1953
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: mail
> Versions: 1.1
> Reporter: Rick McGuire
> Assignee: Rick McGuire
> Fix For: 1.1
>
> The MimeUtiltiy encode()/decode() method has multiple round trip problems
> when a uuencode encoding is specified. Among these problems:
> 1) not properly recognizing the begin marker
> 2) incorrect end of data marker is written out
> 3) incorrect encoded length tests.
> 4) not properly writing out the second and third bytes of a decoded triplet.
> 5) a backwards System.arraycopy() munges decoded data.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira