mirror of
https://github.com/spartanz51/tutabridge.git
synced 2026-06-24 10:54:32 +02:00
8f2bc4197df5f3b8cbdc1355d6e56b48872a1241
Add an imap::utf7 module (RFC 3501 §5.1.3) and apply it at the protocol boundary: encode mailbox names in LIST, decode them in SELECT/STATUS. Folder names internally stay UTF-8; only the IMAP wire form is UTF-7. Also fix STATUS argument parsing to handle quoted mailbox names with spaces (it split on the first space, truncating names like "Not Important" or nested paths). Live-tested: "Café" lists as "Caf&AOk-", a nested child lists as "Caf&AOk-/Test dossier avec espace", and SELECT/STATUS resolve both.
Languages
Rust
89.5%
TypeScript
5.9%
CSS
2.5%
Python
1.2%
Shell
0.7%
Other
0.1%