[CalendarServer-changes] [13572] CalendarServer/trunk/calendarserver/provision/root.py

source_changes at macosforge.org source_changes at macosforge.org
Thu May 29 19:37:00 PDT 2014


Revision: 13572
          http://trac.calendarserver.org//changeset/13572
Author:   cdaboo at apple.com
Date:     2014-05-29 19:37:00 -0700 (Thu, 29 May 2014)
Log Message:
-----------
Fix after recent access log change.

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/provision/root.py

Modified: CalendarServer/trunk/calendarserver/provision/root.py
===================================================================
--- CalendarServer/trunk/calendarserver/provision/root.py	2014-05-30 02:35:04 UTC (rev 13571)
+++ CalendarServer/trunk/calendarserver/provision/root.py	2014-05-30 02:37:00 UTC (rev 13572)
@@ -329,7 +329,7 @@
 
             # The authzuser value is set to that of the wiki principal if
             # not already set.
-            if not hasattr(request, "authzUser"):
+            if not hasattr(request, "authzUser") and segments[2]:
                 wikiUid = None
                 if segments[1] == "wikis":
                     wikiUid = "{}{}".format(WikiDirectoryService.uidPrefix, segments[2])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140529/f4350b3e/attachment-0001.html>


More information about the calendarserver-changes mailing list