1
0
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:
Cameron 2020-04-22 10:39:22 -07:00
parent 6d29c4c55e
commit 6734f26978

View File

@ -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'),