Message161257
imap consideres flags to be atoms, and atoms should not be quoted. Attempting to use a quoted flag with e.g. STORE +FLAGS will cause some servers, like dovecot, to return an error.
However, imaplib apparently auto-quotes all parameters that contain a backslash. This applies to default flags such as \Deleted or \Seen. This results in an error from some IMAP servers.
The reason seems to be that _checkquote method wants to quote anything that matches the _mustquote pattern, and that pattern matches strings containing backslashes. |
|
Date |
User |
Action |
Args |
2012-05-21 09:56:51 | brightbyte | set | recipients:
+ brightbyte |
2012-05-21 09:56:51 | brightbyte | set | messageid: <1337594211.69.0.0102835741934.issue14869@psf.upfronthosting.co.za> |
2012-05-21 09:56:51 | brightbyte | link | issue14869 messages |
2012-05-21 09:56:50 | brightbyte | create | |
|