From f3426b186bb287bf4be38539d12ecd7664988520 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 15 Mar 2026 18:11:07 +0100 Subject: [PATCH] sharing/propfind: fix backmapping --- radicale/app/propfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/app/propfind.py b/radicale/app/propfind.py index 9afc0c33..66edf99a 100644 --- a/radicale/app/propfind.py +++ b/radicale/app/propfind.py @@ -117,7 +117,7 @@ def xml_propfind_response( if logger.isEnabledFor(logging.DEBUG): logger.debug("TRACE/PROPFIND/xml_propfind: PathMapped=%r uri=%r", shares[entry]['PathMapped'], uri) if uri.startswith(shares[entry]['PathMapped']): - if sharetype is None or shares[entry]['ShareType'] == sharetype: + if sharetype is not None and shares[entry]['ShareType'] == sharetype: share = shares[entry] if logger.isEnabledFor(logging.DEBUG): logger.debug("TRACE/PROPFIND/xml_propfind: found share=%r", share)