Guillaume Ayoub 14 лет назад
Родитель
Сommit
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)
             multistatus.append(response)
 
 
             href = ET.Element(_tag("D", "href"))
             href = ET.Element(_tag("D", "href"))
-            href.text = path + item.name
+            href.text = "%s/%s" % (path, item.name)
             response.append(href)
             response.append(href)
 
 
             propstat = ET.Element(_tag("D", "propstat"))
             propstat = ET.Element(_tag("D", "propstat"))