[CalendarServer-changes] [14161] CalDAVClientLibrary/trunk/caldavclientlibrary/browser/commands/ls. py

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 12 16:14:47 PST 2014


Revision: 14161
          http://trac.calendarserver.org//changeset/14161
Author:   cdaboo at apple.com
Date:     2014-11-12 16:14:47 -0800 (Wed, 12 Nov 2014)
Log Message:
-----------
Fix to properly handle %-encoded paths.

Modified Paths:
--------------
    CalDAVClientLibrary/trunk/caldavclientlibrary/browser/commands/ls.py

Modified: CalDAVClientLibrary/trunk/caldavclientlibrary/browser/commands/ls.py
===================================================================
--- CalDAVClientLibrary/trunk/caldavclientlibrary/browser/commands/ls.py	2014-11-13 00:10:22 UTC (rev 14160)
+++ CalDAVClientLibrary/trunk/caldavclientlibrary/browser/commands/ls.py	2014-11-13 00:14:47 UTC (rev 14161)
@@ -111,7 +111,7 @@
                 continue
             line = []
             if longlist:
-                props = results[rurl]
+                props = results[urllib.quote(rurl)]
                 size = props.get(davxml.getcontentlength, "-")
                 if not size:
                     size = "0"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20141112/b7422257/attachment.html>


More information about the calendarserver-changes mailing list