]> code.delx.au - offlineimap/commitdiff
Workaround for bug in Exchange
authorJohn Goerzen <jgoerzen@complete.org>
Fri, 7 Oct 2005 19:11:20 +0000 (20:11 +0100)
committerJohn Goerzen <jgoerzen@complete.org>
Fri, 7 Oct 2005 19:11:20 +0000 (20:11 +0100)
With help from Mark R. Biggers, I discovered that Exchange doesn't like an
asterisk in a folder name.

Sigh.

offlineimap/imaplib.py

index f344ab2f314193dc75c8b0400a2125a03ae52f87..4d442474b30e674b01681bb9926aa0a83393da63 100644 (file)
@@ -136,7 +136,7 @@ class IMAP4:
     class abort(error): pass        # Service errors - close and retry
     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):
         self.debug = Debug