[CalendarServer-changes] [3363] CalendarServer/trunk/twistedcaldav/root.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 11 10:26:23 PST 2008
Revision: 3363
http://trac.macosforge.org/projects/calendarserver/changeset/3363
Author: sagen at apple.com
Date: 2008-11-11 10:26:23 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
Handles the case where a wiki user has logged out and is left with a sessionID cookie of "unauthenticated" -- there is no reason to look up the username via RPC.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/root.py
Modified: CalendarServer/trunk/twistedcaldav/root.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/root.py 2008-11-11 15:48:03 UTC (rev 3362)
+++ CalendarServer/trunk/twistedcaldav/root.py 2008-11-11 18:26:23 UTC (rev 3363)
@@ -201,7 +201,7 @@
else:
token = None
- if token is not None:
+ if token is not None and token != "unauthenticated":
log.info("Wiki sessionID cookie value: %s" % (token,))
proxy = Proxy(wikiConfig["URL"])
d = proxy.callRemote(wikiConfig["UserMethod"],
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081111/dc29d9c8/attachment.html>
More information about the calendarserver-changes
mailing list