Explorar el Código

Fix URLs in report requests

Guillaume Ayoub hace 14 años
padre
commit
af10a2f1c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      radicale/xmlutils.py

+ 1 - 1
radicale/xmlutils.py

@@ -430,7 +430,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"))