Skip to content

Commit 166636e

Browse files
authored
Allow 'sandbox' attribute for html::iframe (#9783)
1 parent 6d51c21 commit 166636e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

program/lib/Roundcube/html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public static function iframe($attr = null, $cont = null)
243243
$attr = ['src' => $attr];
244244
}
245245

246-
$allowed = ['src', 'name', 'width', 'height', 'border', 'frameborder', 'onload', 'allowfullscreen'];
246+
$allowed = ['src', 'name', 'width', 'height', 'border', 'frameborder', 'onload', 'allowfullscreen', 'sandbox'];
247247

248248
return self::tag('iframe', $attr, $cont, array_merge(self::$common_attrib, $allowed));
249249
}

0 commit comments

Comments
 (0)