forked from MarseyWorld/MarseyWorld
simpler fix to the transform exploit
parent
c930c21004
commit
0b15290ccf
|
@ -7744,3 +7744,7 @@ body {
|
|||
resize: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
p { /* fix the transform:exploit */
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
|
|
@ -58,8 +58,6 @@ allowed_styles = ['background-color', 'color', 'filter', 'font-weight', 'text-al
|
|||
def allowed_attributes(tag, name, value):
|
||||
|
||||
if name == 'style':
|
||||
if 'transform' in value.lower() and 'scale' in value.lower():
|
||||
return False
|
||||
return True
|
||||
|
||||
if tag == 'marquee':
|
||||
|
|
Loading…
Reference in New Issue