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

Commits on Jun 4, 2020

  1. Allow downloads in sandboxed iframe

    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>
    danxuliu authored and backportbot[bot] committed Jun 4, 2020
    Configuration menu
    Copy the full SHA
    3d5bcb1 View commit details
    Browse the repository at this point in the history