mirror of https://gitlab.com/bashrc2/epicyon
More bad paths
parent
9aa2f3be47
commit
f8577499c3
4
utils.py
4
utils.py
|
|
@ -4102,6 +4102,10 @@ def check_bad_path(path: str, allow_local_network_access: bool):
|
||||||
if contains_ipv4_address(path_lower):
|
if contains_ipv4_address(path_lower):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
bad_starts = ('/firebase', '/composer')
|
||||||
|
if string_starts_with(path_lower, bad_starts):
|
||||||
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue