Преглед на файлове

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"))