From 4f37e90e2037a2df389f804e64735ca05a8f525c Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 7 Aug 2016 17:07:51 +0200 Subject: [PATCH] Some clients expect collections to end with / Compatibility with InfCloud/CalDavZAP/CardDavMATE --- radicale/xmlutils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index d58e77c..d5cd3ec 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -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: