[CalendarServer-changes] [537]
CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/
resource.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 21 09:09:47 PST 2006
Revision: 537
http://trac.macosforge.org/projects/calendarserver/changeset/537
Author: cdaboo at apple.com
Date: 2006-11-21 09:09:47 -0800 (Tue, 21 Nov 2006)
Log Message:
-----------
Principal collection URLs must end with /.
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/resource.py
Modified: CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/resource.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/resource.py 2006-11-21 17:09:14 UTC (rev 536)
+++ CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/resource.py 2006-11-21 17:09:47 UTC (rev 537)
@@ -547,6 +547,8 @@
# Register self with class
if url not in CalendarPrincipalCollectionResource.principleCollectionSet:
+ if not url.endswith("/"):
+ url += "/"
CalendarPrincipalCollectionResource.principleCollectionSet[url] = self
def isCollection(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061121/4ae9e21a/attachment.html
More information about the calendarserver-changes
mailing list