More bad paths

main
bashrc 2026-05-17 18:28:34 +01:00
parent 9aa2f3be47
commit f8577499c3
1 changed files with 4 additions and 0 deletions

View File

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