[CalendarServer-changes] [4336] CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 5 11:08:49 PDT 2009


Revision: 4336
          http://trac.macosforge.org/projects/calendarserver/changeset/4336
Author:   sagen at apple.com
Date:     2009-06-05 11:08:45 -0700 (Fri, 05 Jun 2009)
Log Message:
-----------
Fixes Twisted's PLAIN authentication for IMAP.

Added Paths:
-----------
    CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch

Added: CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch	                        (rev 0)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch	2009-06-05 18:08:45 UTC (rev 4336)
@@ -0,0 +1,13 @@
+Index: twisted/mail/imap4.py
+===================================================================
+--- twisted/mail/imap4.py	(revision 26969)
++++ twisted/mail/imap4.py	(working copy)
+@@ -4159,7 +4159,7 @@
+         return "PLAIN"
+ 
+     def challengeResponse(self, secret, chal):
+-        return '%s\0%s\0' % (self.user, secret)
++        return '\0%s\0%s' % (self.user, secret)
+ 
+ 
+ class MailboxException(IMAP4Exception): pass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090605/5b26f6cd/attachment.html>


More information about the calendarserver-changes mailing list