mirror of https://gitlab.com/bashrc2/epicyon
Improve blocking of user agent domains
parent
92b9942183
commit
c9cd6ea9ab
|
@ -117,6 +117,7 @@ def blocked_user_agent(calling_domain: str, agent_str: str,
|
|||
ua_block + "/" in agent_str_lower or \
|
||||
ua_block + ")" in agent_str_lower or \
|
||||
ua_block + ";" in agent_str_lower or \
|
||||
ua_block + "," in agent_str_lower or \
|
||||
ua_block + ">" in agent_str_lower or \
|
||||
ua_block + "<" in agent_str_lower or \
|
||||
ua_block + " " in agent_str_lower:
|
||||
|
|
Loading…
Reference in New Issue