Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #186

Until now it was possible to initiate a download from an iframe, but the
HTML spec has been updated to prevent that unless "allow-downloads" is
set in the "sandbox" attribute of the iframe.

As the PDF viewer shows the PDF file in an iframe the "allow-downloads"
attribute is needed to be able to download the PDF file by clicking on
the "Download" button of the UI in browsers that have implemented the
spec change (like Chromium 83; other browsers are expected to follow).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@juliusknorr juliusknorr merged commit 2cc1f5b into stable19 Jun 4, 2020
@juliusknorr juliusknorr deleted the backport/186/stable19 branch June 4, 2020 12:04
@rullzer rullzer mentioned this pull request Jul 6, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants