Avoid php scripts

main
Bob Mottram 2022-10-26 14:35:31 +01:00
parent 551db283d2
commit a538cf86e7
1 changed files with 1 additions and 1 deletions

View File

@ -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)