Merge pull request #206 from SISheogorath/fix/CVE-2019-15499
Don't accept sandbox attribute
This commit is contained in:
commit
3db757754f
@ -20,7 +20,7 @@ whiteList['style'] = []
|
|||||||
// allow kbd tag
|
// allow kbd tag
|
||||||
whiteList['kbd'] = []
|
whiteList['kbd'] = []
|
||||||
// allow ifram tag with some safe attributes
|
// allow ifram tag with some safe attributes
|
||||||
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'width', 'height']
|
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'src', 'width', 'height']
|
||||||
// allow summary tag
|
// allow summary tag
|
||||||
whiteList['summary'] = []
|
whiteList['summary'] = []
|
||||||
// allow ruby tag
|
// allow ruby tag
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user