You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Disallow data attribute, we don't need it currently
This commit is contained in:
@@ -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