Jelajahi Sumber

Improve log message for discovery of unsafe paths

Unrud 8 tahun lalu
induk
melakukan
73a73bb0a5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      radicale/storage.py

+ 1 - 1
radicale/storage.py

@@ -647,7 +647,7 @@ class Collection(BaseCollection):
             filesystem_path = path_to_filesystem(folder, sane_path)
         except ValueError as e:
             # 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)
             return