diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Config.php b/snappymail/v/0.0.0/app/libraries/MailSo/Config.php index 7425c57c6..6f4a1b132 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Config.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Config.php @@ -21,11 +21,6 @@ class Config */ public static $HtmlStrictAllowedTags = null; - /** - * @var array|null - */ - public static $HtmlStrictAllowedAttributes = null; - /** * @var boolean */ diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Api.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Api.php index 2d670de15..59e9da4f4 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Api.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Api.php @@ -118,50 +118,6 @@ class Api \MailSo\Config::$HtmlStrictDebug = !!static::Config()->Get('debug', 'enable', false); \MailSo\Config::$CheckNewMessages = !!static::Config()->Get('labs', 'check_new_messages', true); - - if (static::Config()->Get('labs', 'strict_html_parser', true)) - { - \MailSo\Config::$HtmlStrictAllowedAttributes = array( - // defaults - 'name', - 'dir', 'lang', 'style', 'title', - 'background', 'bgcolor', 'alt', 'height', 'width', 'src', 'href', - 'border', 'bordercolor', 'charset', 'direction', 'language', - // a - 'coords', 'download', 'hreflang', 'shape', - // body - 'alink', 'bgproperties', 'bottommargin', 'leftmargin', 'link', 'rightmargin', 'text', 'topmargin', 'vlink', - 'marginwidth', 'marginheight', 'offset', - // button, - 'disabled', 'type', 'value', - // col - 'align', 'valign', - // font - 'color', 'face', 'size', - // form - 'novalidate', - // hr - 'noshade', - // img - 'hspace', 'sizes', 'srcset', 'vspace', 'usemap', - // input, textarea - 'checked', 'max', 'min', 'maxlength', 'multiple', 'pattern', 'placeholder', 'readonly', 'required', 'step', 'wrap', - // label - 'for', - // meter - 'low', 'high', 'optimum', - // ol - 'reversed', 'start', - // option - 'selected', 'label', - // table - 'cols', 'rows', 'frame', 'rules', 'summary', 'cellpadding', 'cellspacing', - // th - 'abbr', 'scope', - // td - 'axis', 'colspan', 'rowspan', 'headers', 'nowrap' - ); - } } } diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Config/Application.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Config/Application.php index 285500be8..e07ef695b 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Config/Application.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Config/Application.php @@ -384,7 +384,6 @@ Enables caching in the system'), 'cookie_default_secure' => array(false), 'check_new_messages' => array(true), 'replace_env_in_configuration' => array(''), - 'strict_html_parser' => array(false), 'boundary_prefix' => array(''), 'kolab_enabled' => array(false), 'dev_email' => array(''),