Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F195882
fix-two-minor-dovecot-issues
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
detrout
Jul 22 2016, 12:36 AM
2016-07-22 00:36:43 (UTC+2)
Size
970 B
Referenced Files
None
Subscribers
None
fix-two-minor-dovecot-issues
View Options
--- /tmp/dovecot.py 2016-07-21 15:30:46.572617096 -0700
+++ dovecot.py 2016-04-20 11:20:50.958601661 -0700
@@ -81,18 +81,18 @@
return self._untagged_response(typ, dat, 'METADATA')
def imap_setmetadata(self, mailbox, desc, value, shared=False):
if value:
- value = '"' + str(value).strip('"') + '"'
+ value = quote(value)
else:
value = "NIL"
if shared:
typ, dat = self._simple_command('SETMETADATA', mailbox,
- "(/shared%s %s)" % (desc,value))
+ "(/shared/%s %s)" % (desc,value))
else:
typ, dat = self._simple_command('SETMETADATA', mailbox,
- "(/private%s %s)" % (desc,value))
+ "(/private/%s %s)" % (desc,value))
return self._untagged_response(typ, dat, 'METADATA')
# Bind the new methods to the cyruslib IMAP4 and IMAP4_SSL objects
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
180785
Default Alt Text
fix-two-minor-dovecot-issues (970 B)
Attached To
Mode
P15 fix-two-minor-dovecot-issues
Attached
Detach File
Event Timeline
Log In to Comment