From 4f744098e77c3fb1cb75e7bd310a98ffe58ca7e7 Mon Sep 17 00:00:00 2001 From: bashrc Date: Mon, 3 Aug 2026 11:14:26 +0100 Subject: [PATCH] Allow path --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index 74f86af52..c45eb65f9 100644 --- a/src/utils.py +++ b/src/utils.py @@ -4085,7 +4085,7 @@ def check_bad_path(path: str, allow_local_network_access: bool): path_lower: str = path.lower() bad_strings: list[str] = [ - '..', '/.', '/_', '%2e%2e', '%252e%252e', '/sftp.', '/sftp-', + '..', '/.', '%2e%2e', '%252e%252e', '/sftp.', '/sftp-', '/statistics', '/config/', 'settings.', 'credentials', '/packs/', '/backend/', '/apis/', '/laravel/', '/js/', '/root/', '/webmail/', '/mail/'