Message161257
| Author |
brightbyte |
| Recipients |
brightbyte |
| Date |
2012年05月21日.09:56:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1337594211.69.0.0102835741934.issue14869@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|