[CalendarServer-changes] [14096] CalendarServer/trunk/txdav/who/directory.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 21 14:36:21 PDT 2014


Revision: 14096
          http://trac.calendarserver.org//changeset/14096
Author:   sagen at apple.com
Date:     2014-10-21 14:36:21 -0700 (Tue, 21 Oct 2014)
Log Message:
-----------
A directory record can have multiple short names; when performing digest auth, always use the one the client is using.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/who/directory.py

Modified: CalendarServer/trunk/txdav/who/directory.py
===================================================================
--- CalendarServer/trunk/txdav/who/directory.py	2014-10-21 17:38:32 UTC (rev 14095)
+++ CalendarServer/trunk/txdav/who/directory.py	2014-10-21 21:36:21 UTC (rev 14096)
@@ -332,7 +332,7 @@
             log.debug("DigestedCredentials")
             returnValue(
                 (yield self.verifyHTTPDigest(
-                    self.shortNames[0],
+                    credentials.username,
                     self.service.realmName,
                     credentials.fields["uri"],
                     credentials.fields["nonce"],
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20141021/75452bd0/attachment.html>


More information about the calendarserver-changes mailing list