From 5510b7d6227210074825b82c6d8a055fa083c6f8 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Thu, 21 Jan 2016 10:05:45 +0100 Subject: [PATCH] trust oembedHTML to be cleaned server side --- js/misc-functions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/misc-functions.js b/js/misc-functions.js index 5600f9b..250a5ca 100644 --- a/js/misc-functions.js +++ b/js/misc-functions.js @@ -1175,6 +1175,7 @@ function iterateRecursiveReplaceHtmlSpecialChars(obj) { } else if(typeof obj[property] == 'string' && property != 'statusnet_html' + && property != 'oembedHTML' // we trust this to be cleaned server side && property != 'source') { obj[property] = replaceHtmlSpecialChars(obj[property]); }