[CalendarServer-changes] [701] CalendarServer/trunk/twistedcaldav/directory/principal.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Dec 5 14:39:45 PST 2006


Revision: 701
          http://trac.macosforge.org/projects/calendarserver/changeset/701
Author:   wsanchez at apple.com
Date:     2006-12-05 14:39:44 -0800 (Tue, 05 Dec 2006)

Log Message:
-----------
fix quoting

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

Modified: CalendarServer/trunk/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/principal.py	2006-12-05 22:06:02 UTC (rev 700)
+++ CalendarServer/trunk/twistedcaldav/directory/principal.py	2006-12-05 22:39:44 UTC (rev 701)
@@ -106,7 +106,7 @@
             path = None
         
         if path:
-            segments = unquote(path).split("/")
+            segments = [unquote(s) for s in path.split("/")]
             if segments[0] == "" and len(segments) == 3:
                 typeResource = self.getChild(segments[1])
                 if typeResource is not None:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061205/9f5ee3b7/attachment.html


More information about the calendarserver-changes mailing list