diff --git a/program/lib/Roundcube/rcube_utils.php b/program/lib/Roundcube/rcube_utils.php index dedaae125..ab669caf9 100644 --- a/program/lib/Roundcube/rcube_utils.php +++ b/program/lib/Roundcube/rcube_utils.php @@ -514,7 +514,7 @@ class rcube_utils */ public static function xss_entity_decode($content) { - $callback = function($matches) { return chr(hexdec(trim($matches[1]))); }; + $callback = function($matches) { return chr(hexdec($matches[1])); }; $out = html_entity_decode(html_entity_decode($content)); $out = trim(preg_replace('/(^$)/', '', trim($out)));