Fix URLs in report requests

This commit is contained in:
Guillaume Ayoub 2011-06-16 07:54:15 +02:00
parent de0643e741
commit af10a2f1c4

View File

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