sharing: do not try to map /

This commit is contained in:
Peter Bieringer
2026-03-14 07:26:32 +01:00
parent 7874dc62ea
commit c963c19c94

View File

@@ -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)