From c963c19c94f701d20f9ad04be99b9258ce09a811 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sat, 14 Mar 2026 07:26:32 +0100 Subject: [PATCH] sharing: do not try to map / --- radicale/sharing/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radicale/sharing/__init__.py b/radicale/sharing/__init__.py index 2bd5df89..fafaf369 100644 --- a/radicale/sharing/__init__.py +++ b/radicale/sharing/__init__.py @@ -348,6 +348,10 @@ class BaseSharing: """ returning dict with PathMapped, Owner, Permissions or None if not found""" share = None + if path == "/": + # not supported + return None + if self.sharing_collection_by_token: if share is None: share = self.sharing_collection_by_token_resolver(path)