Skip to content

Commit

Permalink
Allow 'sandbox' attribute for html::iframe (#9783)
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm authored Feb 19, 2025
1 parent 6d51c21 commit 166636e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/lib/Roundcube/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public static function iframe($attr = null, $cont = null)
$attr = ['src' => $attr];
}

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

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

0 comments on commit 166636e

Please sign in to comment.