mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Log unsafe paths
This commit is contained in:
parent
91e49986ee
commit
2178ba58be
2 changed files with 5 additions and 2 deletions
|
@ -484,7 +484,8 @@ class Collection(BaseCollection):
|
|||
filesystem_path = path_to_filesystem(folder, sane_path)
|
||||
except ValueError as e:
|
||||
# Path is unsafe
|
||||
cls.logger.info(e)
|
||||
cls.logger.debug("Collection with unsafe path %r requested: %s",
|
||||
sane_path, e, exc_info=True)
|
||||
return
|
||||
|
||||
# Check if the path exists and if it leads to a collection or an item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue