mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +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(
|
||||
'high' => array(),
|
||||
'moderate' => array('class', 'style', 'href', 'rel', 'id'),
|
||||
'moderate' => array('class', 'href', 'rel', 'id'),
|
||||
'low' => false,
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user