sharing: do not try to map /
This commit is contained in:
@@ -348,6 +348,10 @@ class BaseSharing:
|
|||||||
""" returning dict with PathMapped, Owner, Permissions or None if not found"""
|
""" returning dict with PathMapped, Owner, Permissions or None if not found"""
|
||||||
share = None
|
share = None
|
||||||
|
|
||||||
|
if path == "/":
|
||||||
|
# not supported
|
||||||
|
return None
|
||||||
|
|
||||||
if self.sharing_collection_by_token:
|
if self.sharing_collection_by_token:
|
||||||
if share is None:
|
if share is None:
|
||||||
share = self.sharing_collection_by_token_resolver(path)
|
share = self.sharing_collection_by_token_resolver(path)
|
||||||
|
|||||||
Reference in New Issue
Block a user