Correctly set "allow-downloads" flag on iframes (#13218)

This commit is contained in:
Maximilian Ertl
2022-07-19 20:59:45 +02:00
committed by GitHub
parent d41159591c
commit a4b92fef3a

View File

@@ -36,7 +36,7 @@ class HaPanelIframe extends LitElement {
>
<iframe
src=${this.panel.config.url}
sandbox="allow-forms allow-popups allow-pointer-lock allow-same-origin allow-scripts allow-modals allow-download"
sandbox="allow-forms allow-popups allow-pointer-lock allow-same-origin allow-scripts allow-modals allow-downloads"
allowfullscreen="true"
webkitallowfullscreen="true"
mozallowfullscreen="true"