[
https://issues.apache.org/jira/browse/IMAP-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Burrell Donkin updated IMAP-2:
-------------------------------------
Component/s: Protocol
Mailbox
Documentation
Build System
Fix Version/s: 0.1
Assignee: Robert Burrell Donkin
Affects Version/s: 0.1
> Append command; message length is wrongly extract from arguments
> ----------------------------------------------------------------
>
> Key: IMAP-2
> URL: https://issues.apache.org/jira/browse/IMAP-2
> Project: JAMES Imap
> Issue Type: Bug
> Components: Build System, Documentation, Mailbox, Protocol
> Affects Versions: 0.1
> Environment: Windows XP
> Reporter: Francois Carretti
> Assignee: Robert Burrell Donkin
> Fix For: 0.1
>
>
> Last char of message length argument is lost.
>
> If the argument message length comes like this {12345}
> we got messagelen=1234
> original code:
> //long messagelen = Long.parseLong(ms.substring(1,ms.length()-2));
> Correction:
> long messagelen = Long.parseLong(ms.substring(1,ms.length()-1));
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]