From 11883701abf3d8f85b34a8e62574b9d15a387752 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Dec 2020 21:42:10 +0000 Subject: [PATCH] No imports of unchecked css --- content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.py b/content.py index 68fea9970..4de6effa4 100644 --- a/content.py +++ b/content.py @@ -197,7 +197,7 @@ def dangerousCSS(filename: str, allowLocalNetworkAccess: bool) -> bool: cssMatches = ('behavior:', ':expression', '?php', '.php', 'google', 'regexp', 'localhost', - '127.0.', '192.168', '10.0.') + '127.0.', '192.168', '10.0.', '@import') for match in cssMatches: if match in content: return True