[CalendarServer-changes] [12979] CalendarServer/branches/users/sagen/move2who-4/txweb2/dav/util.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 19 18:28:13 PDT 2014
Revision: 12979
http://trac.calendarserver.org//changeset/12979
Author: wsanchez at apple.com
Date: 2014-03-19 18:28:13 -0700 (Wed, 19 Mar 2014)
Log Message:
-----------
Stop with the quote unquote
Modified Paths:
--------------
CalendarServer/branches/users/sagen/move2who-4/txweb2/dav/util.py
Modified: CalendarServer/branches/users/sagen/move2who-4/txweb2/dav/util.py
===================================================================
--- CalendarServer/branches/users/sagen/move2who-4/txweb2/dav/util.py 2014-03-20 01:22:18 UTC (rev 12978)
+++ CalendarServer/branches/users/sagen/move2who-4/txweb2/dav/util.py 2014-03-20 01:28:13 UTC (rev 12979)
@@ -125,13 +125,13 @@
count += 1
path = path[count - 1:]
- return path
+ return path.encode("utf-8")
(scheme, host, path, query, fragment) = urlsplit(cleanup(url))
- path = cleanup(posixpath.normpath(urllib.unquote(path))).encode("utf-8")
+ path = cleanup(posixpath.normpath(path))
- return urlunsplit((scheme, host, urllib.quote(path), query, fragment))
+ return urlunsplit((scheme, host, path, query, fragment))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140319/00ddc730/attachment.html>
More information about the calendarserver-changes
mailing list