forked from indymedia/epicyon
Anything coming from google - fonts, etc - is bad
parent
079e893385
commit
be45c71e12
|
@ -191,7 +191,8 @@ def dangerousCSS(filename: str) -> bool:
|
|||
with open(filename, 'r') as fp:
|
||||
content = fp.read().lower()
|
||||
|
||||
cssMatches = ('behavior:', ':expression', '?php', '.php')
|
||||
cssMatches = ('behavior:', ':expression', '?php', '.php',
|
||||
'google')
|
||||
for match in cssMatches:
|
||||
if match in content:
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue