commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-467) IMAPClient#fetch() does not handle counted strings
Date Fri, 25 May 2012 15:17:23 GMT
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

        

Mime
View raw message