From 4007e2bffc9a00d54c4545daf4ebebee19adbc3d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 12 Dec 2022 21:49:03 +0000 Subject: [PATCH] Extra markup checks --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 4d78cfe69..610974247 100644 --- a/utils.py +++ b/utils.py @@ -1112,7 +1112,7 @@ def dangerous_markup(content: str, allow_local_network_access: bool) -> bool: """ separators = [['<', '>'], ['<', '>']] invalid_strings = [ - 'ampproject', 'googleapis', '_exec(' + 'ampproject', 'googleapis', '_exec(', ' id=', ' name=' ] if _is_dangerous_string_simple(content, allow_local_network_access, separators, invalid_strings):