Sebb created NET-467:
------------------------

             Summary: IMAPClient#fetch() does not handle counted strings
                 Key: NET-467
                 URL: https://issues.apache.org/jira/browse/NET-467
             Project: Commons Net
          Issue Type: Bug
            Reporter: Sebb


As reported on the user list, IMAP#fetch("1","body[header]") fails with an 
error such as:

org.apache.commons.net.MalformedServerReplyException: Received
unexpected IMAP protocol response from server: 'Return-Path: <snip>'

This is because the code does not currently handle literal strings, i.e.

{nnn}CRLF
textCRLF
...

See http://tools.ietf.org/html/rfc3501#section-4.3

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to