1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Issue #4486 - iframe accepted attributes updated

This commit is contained in:
Cameron
2021-04-12 11:01:58 -07:00
parent 096bfb2dc4
commit 444d8d6dc0
2 changed files with 13 additions and 11 deletions

View File

@@ -3386,7 +3386,7 @@ class e_parse
'img' => array('src', 'alt', 'width', 'height'), 'img' => array('src', 'alt', 'width', 'height'),
'a' => array('href', 'target', 'rel'), 'a' => array('href', 'target', 'rel'),
'script' => array('type', 'src', 'language', 'async'), 'script' => array('type', 'src', 'language', 'async'),
'iframe' => array('src', 'frameborder', 'width', 'height'), 'iframe' => array('src', 'frameborder', 'width', 'height', 'allowfullscreen', 'allow'),
'input' => array('type', 'name', 'value'), 'input' => array('type', 'name', 'value'),
'form' => array('action', 'method', 'target'), 'form' => array('action', 'method', 'target'),
'audio' => array('src', 'controls', 'autoplay', 'loop', 'muted', 'preload'), 'audio' => array('src', 'controls', 'autoplay', 'loop', 'muted', 'preload'),

View File

@@ -1785,16 +1785,18 @@ while($row = $sql->fetch())
), ),
'iframe' => 'iframe' =>
array ( array (
0 => 'src', 'src',
1 => 'frameborder', 'frameborder',
2 => 'width', 'width',
3 => 'height', 'height',
4 => 'id', 'allowfullscreen',
5 => 'style', 'allow',
6 => 'class', 'id',
7 => 'title', 'style',
8 => 'lang', 'class',
9 => 'accesskey', 'title',
'lang',
'accesskey',
), ),
'input' => 'input' =>
array ( array (