فهرست منبع

Fix URLs in report requests

Guillaume Ayoub 14 سال پیش
والد
کامیت
af10a2f1c4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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"))