Dissallow regular expressions in css

main
Bob Mottram 2020-12-12 20:59:52 +00:00
parent 5dfd647f81
commit 49091dea9f
1 changed files with 1 additions and 1 deletions

View File

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