Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117766536
D3884.1775232693.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D3884.1775232693.diff
View Options
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -30,6 +30,7 @@
import pykolab
+from pykolab import utils
from pykolab import constants
from pykolab.imap import IMAP
from pykolab.translate import _
@@ -208,7 +209,6 @@
_mailfolder['domain'])
)
-
# TODO: Murder capabilities may have been suppressed using Cyrus IMAP
# configuration.
if not self.murder:
@@ -567,13 +567,7 @@
mbox['domain']
)
- if ' ' in verify_folder_search:
- folders = self.lm(
- '"%s"' % self.folder_utf7(verify_folder_search)
- )
-
- else:
- folders = self.lm(self.folder_utf7(verify_folder_search))
+ folders = self.lm(utils.ensure_str(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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 4:11 PM (17 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18824683
Default Alt Text
D3884.1775232693.diff (1 KB)
Attached To
Mode
D3884: Space in cyrus imapfolder_path
Attached
Detach File
Event Timeline