Преглед изворни кода

Fix URLs in report requests

Guillaume Ayoub пре 14 година
родитељ
комит
5018c132a7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      radicale/xmlutils.py

+ 1 - 1
radicale/xmlutils.py

@@ -425,7 +425,7 @@ def report(path, xml_request, calendar):
             multistatus.append(response)
 
             href = ET.Element(_tag("D", "href"))
-            href.text = path + item.name
+            href.text = "%s/%s" % (path, item.name)
             response.append(href)
 
             propstat = ET.Element(_tag("D", "propstat"))