Workaround for bug in Exchange

With help from Mark R. Biggers, I discovered that Exchange doesn't like an
asterisk in a folder name.

Sigh.
This commit is contained in:
John Goerzen 2005-10-07 20:11:20 +01:00
parent 5272cdb75d
commit fabbf81c1a

View File

@ -136,7 +136,7 @@ class IMAP4:
class abort(error): pass # Service errors - close and retry class abort(error): pass # Service errors - close and retry
class readonly(abort): pass # Mailbox status changed to READ-ONLY class readonly(abort): pass # Mailbox status changed to READ-ONLY
mustquote = re.compile(r"[^\w!#$%&'*+,.:;<=>?^`|~-]") mustquote = re.compile(r"[^\w!#$%&'+,.:;<=>?^`|~-]")
def __init__(self, host = '', port = IMAP4_PORT): def __init__(self, host = '', port = IMAP4_PORT):
self.debug = Debug self.debug = Debug