[CalendarServer-changes] [340] CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.static. patch

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 31 08:35:33 PST 2006


Revision: 340
          http://trac.macosforge.org/projects/calendarserver/changeset/340
Author:   cdaboo at apple.com
Date:     2006-10-31 08:35:33 -0800 (Tue, 31 Oct 2006)

Log Message:
-----------
Fix for incorrect directory listing.

Modified Paths:
--------------
    CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.static.patch

Modified: CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.static.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.static.patch	2006-10-31 16:16:40 UTC (rev 339)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.static.patch	2006-10-31 16:35:33 UTC (rev 340)
@@ -96,3 +96,12 @@
      # Workarounds for issues with File
      ##
  
+@@ -164,7 +213,7 @@
+                     children = []
+ 
+                     def found(request, uri):
+-                        children.append(uri.split("/")[-1].rstrip("/"))
++                        children.append(uri.rstrip("/").split("/")[-1])
+ 
+                     x = waitForDeferred(
+                         self.findChildren("1", request, found, (davxml.Read(),),

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


More information about the calendarserver-changes mailing list