diff options
author | Nikolaus Schulz <microschulz@web.de> | 2010-09-26 20:17:53 +0200 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2010-09-26 21:28:54 +0200 |
commit | eb8bc7a4ec1b5ca19a4b50040d96eb8b1024fd34 (patch) | |
tree | 6548797654a8b4255acf5ca31e7ef98e965b09af /examples/archivemail_all | |
parent | b7091e90eaa082f74626a10b7c33dfed090770bf (diff) | |
download | archivemail-eb8bc7a4ec1b5ca19a4b50040d96eb8b1024fd34.tar.gz archivemail-eb8bc7a4ec1b5ca19a4b50040d96eb8b1024fd34.tar.bz2 archivemail-eb8bc7a4ec1b5ca19a4b50040d96eb8b1024fd34.zip |
IMAP: correctly handle IMAP `literal' and unquoted `astring' in LIST reply
The LIST reply handling in imap_find_mailboxes() was buggy in several
ways. It expected a non-NIL hierarchy delimiter, and it assumed that the
mailbox name in a LIST reply is always quoted; but it can be an astring, a
quoted string, or a literal (see RFC 3501 for the definitions of these
tokens). These variants should now all be interpreted correctly.
In addition, quoted mailbox names are now handled more strictly to the
letter of the RFC; this only affects mailbox names containing a " or a
backslash, though.
Diffstat (limited to 'examples/archivemail_all')
0 files changed, 0 insertions, 0 deletions