mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Some clients expect collections to end with /
Compatibility with InfCloud/CalDavZAP/CardDavMATE
This commit is contained in:
parent
4236077b04
commit
4f37e90e20
1 changed files with 2 additions and 1 deletions
|
@ -541,7 +541,8 @@ def _propfind_response(path, item, props, user, write=False):
|
|||
|
||||
href = ET.Element(_tag("D", "href"))
|
||||
if is_collection:
|
||||
uri = item.path
|
||||
# Some clients expect collections to end with /
|
||||
uri = item.path + "/"
|
||||
else:
|
||||
# TODO: fix this
|
||||
if path.split("/")[-1] == item.href:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue