From 23a2c43e680fc4d7e310b22fbf8b5288560bc789 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Fri, 15 May 2026 07:49:19 +0200 Subject: [PATCH] sharing/propfind/owner: return empty element in case of a mapped share / clients try PROPFIND on this not accessable href --- radicale/app/propfind.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radicale/app/propfind.py b/radicale/app/propfind.py index 151577f4..d01c5c45 100644 --- a/radicale/app/propfind.py +++ b/radicale/app/propfind.py @@ -395,7 +395,8 @@ def xml_propfind_response( is404 = True elif tag == xmlutils.make_clark("D:owner"): # return empty elment, if no owner available (rfc3744-5.1) - if collection.owner: + # return empty element in case of a mapped share / clients try PROPFIND on this not accessable href + if collection.owner and not share: child_element = ET.Element(xmlutils.make_clark("D:href")) child_element.text = xmlutils.make_href( base_prefix, "/%s/" % collection.owner)