瀏覽代碼

Merge branch 'master' of github.com:Kozea/radicale

Guillaume Ayoub 10 年之前
父節點
當前提交
ecf53c5e1e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      radicale/xmlutils.py

+ 1 - 1
radicale/xmlutils.py

@@ -565,7 +565,7 @@ def report(path, xml_request, collection):
             # TODO: fix this
             if hreference.split("/")[-1] == item.href:
                 # Happening when depth is 0
-                uri = "/" + hreference
+                uri = hreference
             else:
                 # Happening when depth is 1
                 uri = posixpath.join(hreference, item.href)