1
0
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:
Luke Barnard
2017-07-10 15:44:41 +01:00
parent f9ee89b2f4
commit 96f5f92c7f

View File

@@ -153,7 +153,7 @@ const sanitizeHtmlParams = {
allowedSchemes: ['http', 'https', 'ftp', 'mailto'],
allowedSchemesByTag: {
img: [ 'data', 'mxc' ],
img: ['mxc'],
},
allowProtocolRelative: false,