Some clients expect collections to end with /
Compatibility with InfCloud/CalDavZAP/CardDavMATE
This commit is contained in:
parent
4236077b04
commit
4f37e90e20
@ -541,7 +541,8 @@ def _propfind_response(path, item, props, user, write=False):
|
|||||||
|
|
||||||
href = ET.Element(_tag("D", "href"))
|
href = ET.Element(_tag("D", "href"))
|
||||||
if is_collection:
|
if is_collection:
|
||||||
uri = item.path
|
# Some clients expect collections to end with /
|
||||||
|
uri = item.path + "/"
|
||||||
else:
|
else:
|
||||||
# TODO: fix this
|
# TODO: fix this
|
||||||
if path.split("/")[-1] == item.href:
|
if path.split("/")[-1] == item.href:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user