Improve log message for discovery of unsafe paths
This commit is contained in:
parent
67669bd690
commit
73a73bb0a5
@ -647,7 +647,7 @@ class Collection(BaseCollection):
|
|||||||
filesystem_path = path_to_filesystem(folder, sane_path)
|
filesystem_path = path_to_filesystem(folder, sane_path)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
# Path is unsafe
|
# Path is unsafe
|
||||||
cls.logger.debug("Collection with unsafe path %r requested: %s",
|
cls.logger.debug("Unsafe path %r requested from storage: %s",
|
||||||
sane_path, e, exc_info=True)
|
sane_path, e, exc_info=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user