From ce6761755eccab8518da540cc4456388d1f1b076 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Thu, 11 Sep 2014 14:53:03 +0000 Subject: [PATCH] Enforce HTML sanitization --- src/mibew/libs/common/string.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mibew/libs/common/string.php b/src/mibew/libs/common/string.php index 2dae842a..561294f8 100644 --- a/src/mibew/libs/common/string.php +++ b/src/mibew/libs/common/string.php @@ -84,7 +84,7 @@ function sanitize_string($string, $tags_level = 'high', $attr_level = 'high') $sanitize_attributes = array( 'high' => array(), - 'moderate' => array('class', 'style', 'href', 'rel', 'id'), + 'moderate' => array('class', 'href', 'rel', 'id'), 'low' => false, );