mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Remove double slashes in report href URLs (related to #618)
This commit is contained in:
parent
f21ad8a350
commit
f2d491ea61
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,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 = "%s/%s" % (path, item.name)
|
href.text = "%s/%s" % (path.rstrip("/"), item.name)
|
||||||
response.append(href)
|
response.append(href)
|
||||||
|
|
||||||
propstat = ET.Element(_tag("D", "propstat"))
|
propstat = ET.Element(_tag("D", "propstat"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue