Add <math> html tag to DOMpurity backlist to prevent HTTP leaks

This commit is contained in:
Tankred Hase 2015-04-22 18:01:53 +02:00
parent 898e19e3ea
commit 0dc04e659f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ window.onmessage = function(e) {
if (e.data.removeImages) {
// remove http leaks
document.body.innerHTML = DOMPurify.sanitize(html, {
FORBID_TAGS: ['style', 'svg', 'audio', 'video'],
FORBID_TAGS: ['style', 'svg', 'audio', 'video', 'math'],
FORBID_ATTR: ['src']
});
} else {