Fix URLs in report requests

This commit is contained in:
Guillaume Ayoub 2011-06-16 07:54:15 +02:00
parent ed1ad975a6
commit 5018c132a7

View File

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