mirror of https://gitlab.com/bashrc2/epicyon
Avoid php scripts
parent
551db283d2
commit
a538cf86e7
2
utils.py
2
utils.py
|
@ -1113,7 +1113,7 @@ def dangerous_markup(content: str, allow_local_network_access: bool) -> bool:
|
|||
'canvas', 'style', 'abbr', 'input',
|
||||
'frame', 'iframe', 'html', 'body',
|
||||
'hr', 'allow-popups', 'allow-scripts',
|
||||
'amp-'
|
||||
'amp-', '?php'
|
||||
]
|
||||
return _is_dangerous_string_tag(content, allow_local_network_access,
|
||||
separators, invalid_strings)
|
||||
|
|
Loading…
Reference in New Issue