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
Document brokenness
This commit is contained in:
@@ -101,6 +101,10 @@ var sanitizeHtmlParams = {
|
|||||||
selfClosing: [ 'img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta' ],
|
selfClosing: [ 'img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta' ],
|
||||||
// URL schemes we permit
|
// URL schemes we permit
|
||||||
allowedSchemes: [ 'http', 'https', 'ftp', 'mailto' ],
|
allowedSchemes: [ 'http', 'https', 'ftp', 'mailto' ],
|
||||||
|
|
||||||
|
// DO NOT USE. sanitize-html allows all URL starting with '//'
|
||||||
|
// so this will always allow links to whatever scheme the
|
||||||
|
// host page is served over.
|
||||||
allowedSchemesByTag: {},
|
allowedSchemesByTag: {},
|
||||||
|
|
||||||
transformTags: { // custom to matrix
|
transformTags: { // custom to matrix
|
||||||
|
|||||||
Reference in New Issue
Block a user