[CalendarServer-changes] [4641] CalendarServer/trunk/twistedcaldav/directory/calendar.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 26 16:50:19 PDT 2009


Revision: 4641
          http://trac.macosforge.org/projects/calendarserver/changeset/4641
Author:   wsanchez at apple.com
Date:     2009-10-26 16:50:15 -0700 (Mon, 26 Oct 2009)
Log Message:
-----------
Calendar homes are collections; need the trailing '/'.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/calendar.py

Modified: CalendarServer/trunk/twistedcaldav/directory/calendar.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/calendar.py	2009-10-26 23:41:10 UTC (rev 4640)
+++ CalendarServer/trunk/twistedcaldav/directory/calendar.py	2009-10-26 23:50:15 UTC (rev 4641)
@@ -334,7 +334,7 @@
         raise NotImplementedError("Subclass must implement provisionChild()")
 
     def url(self):
-        return joinURL(self.parent.url(), self.record.uid)
+        return joinURL(self.parent.url(), self.record.uid, "/")
 
     def canonicalURL(self, request):
         return succeed(self.url())
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091026/38dc8889/attachment-0001.html>


More information about the calendarserver-changes mailing list