mirror of https://gitlab.com/bashrc2/epicyon
Allow path
parent
c50b21f460
commit
4f744098e7
|
|
@ -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/'
|
||||
|
|
|
|||
Loading…
Reference in New Issue