No imports of unchecked css

merge-requests/8/head
Bob Mottram 2020-12-12 21:42:10 +00:00
parent 76eb19b311
commit 11883701ab
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ def dangerousCSS(filename: str, allowLocalNetworkAccess: bool) -> bool:
cssMatches = ('behavior:', ':expression', '?php', '.php', cssMatches = ('behavior:', ':expression', '?php', '.php',
'google', 'regexp', 'localhost', 'google', 'regexp', 'localhost',
'127.0.', '192.168', '10.0.') '127.0.', '192.168', '10.0.', '@import')
for match in cssMatches: for match in cssMatches:
if match in content: if match in content:
return True return True