Allow path

main
bashrc 2026-08-03 11:14:26 +01:00
parent c50b21f460
commit 4f744098e7
1 changed files with 1 additions and 1 deletions

View File

@ -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/'