mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-05 22:27:36 +03: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)
|
||||
|
||||
href = ET.Element(_tag("D", "href"))
|
||||
href.text = "%s/%s" % (path, item.name)
|
||||
href.text = "%s/%s" % (path.rstrip("/"), item.name)
|
||||
response.append(href)
|
||||
|
||||
propstat = ET.Element(_tag("D", "propstat"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue