mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Use only allowed attributes in the html parser.
This commit is contained in:
parent
0a6a84b3d7
commit
5a01b59d40
11 changed files with 137 additions and 1328 deletions
|
|
@ -26,6 +26,21 @@ class Config
|
|||
*/
|
||||
public static $MBSTRING = true;
|
||||
|
||||
/**
|
||||
* @var array|null
|
||||
*/
|
||||
public static $HtmlStrictAllowedTags = null;
|
||||
|
||||
/**
|
||||
* @var array|null
|
||||
*/
|
||||
public static $HtmlStrictAllowedAttributes = null;
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
public static $HtmlStrictDebug = false;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue