Forráskód Böngészése

Fix URLs in report requests

Guillaume Ayoub 14 éve
szülő
commit
5018c132a7
1 módosított fájl, 1 hozzáadás és 1 törlés
  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"))