mirror of https://gitlab.com/bashrc2/epicyon
Over-zealous markup check
parent
9d7e90a908
commit
d35d02579c
2
utils.py
2
utils.py
|
@ -1112,7 +1112,7 @@ def dangerous_markup(content: str, allow_local_network_access: bool) -> bool:
|
||||||
"""
|
"""
|
||||||
separators = [['<', '>'], ['<', '>']]
|
separators = [['<', '>'], ['<', '>']]
|
||||||
invalid_strings = [
|
invalid_strings = [
|
||||||
'analytics', 'ampproject', 'googleapis', '_exec('
|
'ampproject', 'googleapis', '_exec('
|
||||||
]
|
]
|
||||||
if _is_dangerous_string_simple(content, allow_local_network_access,
|
if _is_dangerous_string_simple(content, allow_local_network_access,
|
||||||
separators, invalid_strings):
|
separators, invalid_strings):
|
||||||
|
|
Loading…
Reference in New Issue