[ 
https://issues.apache.org/jira/browse/IMAP-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Burrell Donkin closed IMAP-2.
------------------------------------

    Resolution: Fixed

Test coverage indicates that this should be fixed

> 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]

Reply via email to