1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +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'),
'a' => array('href', 'target', 'rel'),
'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'),
'form' => array('action', 'method', 'target'),
'audio' => array('src', 'controls', 'autoplay', 'loop', 'muted', 'preload'),

View File

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