diff --git a/utils.py b/utils.py index 0b795317b..87ed90028 100644 --- a/utils.py +++ b/utils.py @@ -3968,7 +3968,8 @@ def check_bad_path(path: str): path_lower = path.lower() bad_strings = ('..', '/.', '%2e%2e', '%252e%252e', - '/sftp.', '/sftp-', '/statistics') + '/sftp.', '/sftp-', '/statistics', + '/config/', 'settings.') # allow /.well-known/... if '/.' in path_lower: