Commit 5035efc3 authored by Joe Nahmias's avatar Joe Nahmias Committed by Keith Packard

fix href attribute of response

parent d2b4526b
......@@ -347,7 +347,7 @@ def report(path, xml_request, collection):
multistatus.append(response)
href = ET.Element(_tag("D", "href"))
href.text = path + item.name
href.text = path.rstrip('/') + '/' + item.name
response.append(href)
propstat = ET.Element(_tag("D", "propstat"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment