storage: add and take use of flag _filesystem_root_folder_is_collision_free

This commit is contained in:
Peter Bieringer
2026-04-14 09:00:04 +02:00
parent f6eb5634cd
commit 7a55e8164b
8 changed files with 18 additions and 11 deletions

View File

@@ -59,7 +59,8 @@ class CollectionPartGet(CollectionPartCache, CollectionPartLock,
if not pathutils.is_safe_filesystem_path_component(href):
raise pathutils.UnsafePathError(href)
path = pathutils.path_to_filesystem(self._filesystem_path,
href)
href,
self._filesystem_root_folder_is_collision_free)
except ValueError as e:
logger.debug(
"Can't translate name %r safely to filesystem in %r: %s",