mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-29 16:55:32 +00:00
Merge pull request #379 from untitaker/double-slash
Fix double slash in REPORT responses
This commit is contained in:
commit
c0f7bec51d
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ def report(path, xml_request, collection):
|
|||
# TODO: fix this
|
||||
if hreference.split("/")[-1] == item.href:
|
||||
# Happening when depth is 0
|
||||
uri = "/" + hreference
|
||||
uri = hreference
|
||||
else:
|
||||
# Happening when depth is 1
|
||||
uri = posixpath.join(hreference, item.href)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue