mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-12 10:31:09 +03:00
Enforce HTML sanitization
This commit is contained in:
parent
6154992f4f
commit
ce6761755e
@ -84,7 +84,7 @@ function sanitize_string($string, $tags_level = 'high', $attr_level = 'high')
|
|||||||
|
|
||||||
$sanitize_attributes = array(
|
$sanitize_attributes = array(
|
||||||
'high' => array(),
|
'high' => array(),
|
||||||
'moderate' => array('class', 'style', 'href', 'rel', 'id'),
|
'moderate' => array('class', 'href', 'rel', 'id'),
|
||||||
'low' => false,
|
'low' => false,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user