duesee / imap-codec

Rock-solid and complete codec for IMAP
Apache License 2.0
37 stars 14 forks source link

Accept `[` and `]` in Text. (See below.) #299

Closed duesee closed 1 year ago

duesee commented 1 year ago

I introduced is_text_char_restricted to resolve an IMAP ambiguity, e.g., code: None, text: "[CODE] ...". But doing it this way produces avoidable parsing errors in practice.