mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Fixes #4128 whitelist 'rel' attribute on a tags.
This commit is contained in:
parent
6d29c4c55e
commit
6734f26978
@ -3823,7 +3823,7 @@ class e_parser
|
||||
protected $allowedAttributes = array(
|
||||
'default' => array('id', 'style', 'class'),
|
||||
'img' => array('id', 'src', 'style', 'class', 'alt', 'title', 'width', 'height'),
|
||||
'a' => array('id', 'href', 'style', 'class', 'title', 'target'),
|
||||
'a' => array('id', 'href', 'style', 'class', 'title', 'target', 'rel'),
|
||||
'script' => array('type', 'src', 'language', 'async'),
|
||||
'iframe' => array('id', 'src', 'frameborder', 'class', 'width', 'height', 'style'),
|
||||
'input' => array('type','name','value','class','style'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user