Disallow data attribute, we don't need it currently
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ const sanitizeHtmlParams = {
|
|||||||
allowedSchemes: ['http', 'https', 'ftp', 'mailto'],
|
allowedSchemes: ['http', 'https', 'ftp', 'mailto'],
|
||||||
|
|
||||||
allowedSchemesByTag: {
|
allowedSchemesByTag: {
|
||||||
img: [ 'data', 'mxc' ],
|
img: ['mxc'],
|
||||||
},
|
},
|
||||||
allowProtocolRelative: false,
|
allowProtocolRelative: false,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user