mirror of https://gitlab.com/bashrc2/epicyon
Merge branch 'main' of gitlab.com:bashrc2/epicyon
commit
cef89fb17e
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 = [
|
||||||
'ampproject', 'googleapis', '_exec('
|
'ampproject', 'googleapis', '_exec(', ' id=', ' name='
|
||||||
]
|
]
|
||||||
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