summaryrefslogtreecommitdiffstats
path: root/pykolab/imap
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-07-31 10:55:04 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-07-31 10:55:04 +0200
commitb00ea314f722fb2ba455e9a90bbd7f7616767946 (patch)
treede1d15512cff7bb633988cb3f9a694463a299537 /pykolab/imap
parent46fd1e032160f010525bddedf18a9ccd14a5c62a (diff)
downloadpykolab-b00ea314f722fb2ba455e9a90bbd7f7616767946.tar.gz
Ensure that UTF-7 is encoded as such
Diffstat (limited to 'pykolab/imap')
-rw-r--r--pykolab/imap/cyrus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
index 2f16e1f..f09e429 100644
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -384,9 +384,9 @@ class Cyrus(cyruslib.CYRUS):
verify_folder_search = "%s@%s" % (verify_folder_search, mbox['domain'])
if ' ' in verify_folder_search:
- folders = self.lm('"%s"' % verify_folder_search)
+ folders = self.lm('"%s"' % self.folder_utf7(verify_folder_search))
else:
- folders = self.lm(verify_folder_search)
+ folders = self.lm(self.folder_utf7(verify_folder_search))
# NOTE: Case also covered is valid hexadecimal folders; won't be the
# actual check as intended, but doesn't give you anyone else's data