homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:51brightbytesetrecipients: + brightbyte
2012年05月21日 09:56:51brightbytesetmessageid: <1337594211.69.0.0102835741934.issue14869@psf.upfronthosting.co.za>
2012年05月21日 09:56:51brightbytelinkissue14869 messages
2012年05月21日 09:56:50brightbytecreate

AltStyle によって変換されたページ (->オリジナル) /