mirror of https://gitlab.com/bashrc2/epicyon
Forbit input within markup
parent
bed15feb14
commit
48db4f58a4
2
utils.py
2
utils.py
|
@ -1110,7 +1110,7 @@ def dangerous_markup(content: str, allow_local_network_access: bool) -> bool:
|
||||||
return True
|
return True
|
||||||
invalid_strings = [
|
invalid_strings = [
|
||||||
'script', 'noscript', 'pre',
|
'script', 'noscript', 'pre',
|
||||||
'canvas', 'style', 'abbr',
|
'canvas', 'style', 'abbr', 'input',
|
||||||
'frame', 'iframe', 'html', 'body',
|
'frame', 'iframe', 'html', 'body',
|
||||||
'hr', 'allow-popups', 'allow-scripts',
|
'hr', 'allow-popups', 'allow-scripts',
|
||||||
'amp-'
|
'amp-'
|
||||||
|
|
Loading…
Reference in New Issue