mirror of
https://github.com/spartanz51/tutabridge.git
synced 2026-06-24 10:54:32 +02:00
e514496377e9bcb02c5767585255c17a4d6e29c1
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%