Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable17] Allow downloads in sandboxed iframe #189

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

backportbot-nextcloud[bot]
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 <danxuliu@gmail.com>
@juliusknorr juliusknorr merged commit 19142fa into stable17 Jun 4, 2020
@juliusknorr juliusknorr deleted the backport/186/stable17 branch June 4, 2020 12:04
@rullzer rullzer mentioned this pull request Jul 6, 2020
1 task
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.

3 participants