diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2019-05-24 23:52:37 +0200 | 
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2019-05-27 00:07:29 +0200 | 
| commit | 735c861de4d662f5bfe4fddff9fbfa8bc5a503c1 (patch) | |
| tree | b35f90885cda219eb1c7970006dd03b181bd0ec4 /Changelog | |
| parent | 1c5274b67308c10512e275d018ee18befcfb487f (diff) | |
libinterimap: astring is 1*ASTRING-CHAR / string.
Not 1*ATOM-CHAR / string.  Also accept LIST responses mailbox names
containing '%', '*', or ']'.
From RFC 3501:
        astring         = 1*ASTRING-CHAR / string
        ASTRING-CHAR    = ATOM-CHAR / resp-specials
        list            = "LIST" SP mailbox SP list-mailbox
        list-mailbox    = 1*list-char / string
        list-char       = ATOM-CHAR / list-wildcards / resp-specials
        list-wildcards  = "%" / "*"
        resp-specials   = "]"
Diffstat (limited to 'Changelog')
| -rw-r--r-- | Changelog | 3 | 
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,9 @@ interimap (0.5) upstream;   - libinterimap: bugfix: hierarchy delimiters in LIST responses were     returned as an escaped quoted special, like "\\", not as a single     character (backslash in this case). + - libinterimap: the parser choked on responses with non-quoted/literal +   astring containing ']' characters.  And LIST responses with +   non-quoted/literal list-mailbox names '%', '*' or ']' characters.   - libinterimap: quote() the empty string as "" instead of a 0-length     literal.  (This saves 3 bytes + one round-trip on servers not     supporting non-synchronizing literals, and 4 bytes otherwise.)  | 
