[jira] [Created] (NET-467) IMAPClient#fetch() does not handle counted strings

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (NET-467) IMAPClient#fetch() does not handle counted strings

ASF GitHub Bot (Jira)
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 | Threaded
Open this post in threaded view
|

[jira] [Updated] (NET-467) IMAPClient#fetch() does not handle literal strings

ASF GitHub Bot (Jira)

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

Sebb updated NET-467:
---------------------

    Summary: IMAPClient#fetch() does not handle literal strings  (was: IMAPClient#fetch() does not handle counted strings)
   

> IMAPClient#fetch() does not handle literal 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 | Threaded
Open this post in threaded view
|

[jira] [Resolved] (NET-467) IMAPClient#fetch() does not handle literal strings

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Sebb resolved NET-467.
----------------------

    Resolution: Fixed
   

> IMAPClient#fetch() does not handle literal strings
> --------------------------------------------------
>
>                 Key: NET-467
>                 URL: https://issues.apache.org/jira/browse/NET-467
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Sebb
>             Fix For: 3.2
>
>
> 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 | Threaded
Open this post in threaded view
|

[jira] [Updated] (NET-467) IMAPClient#fetch() does not handle literal strings

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Sebb updated NET-467:
---------------------

    Affects Version/s: 3.1
        Fix Version/s: 3.2
   

> IMAPClient#fetch() does not handle literal strings
> --------------------------------------------------
>
>                 Key: NET-467
>                 URL: https://issues.apache.org/jira/browse/NET-467
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Sebb
>             Fix For: 3.2
>
>
> 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