-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helpers: Include filename when triggering download
By combining the two old ideas: Instead of deciding between clicking on a link (needs CSP), or loading a "data:" URL into a nested iframe (omits filename), we click on a link in a nested iframe. This should make the "Launch viewer" button work with Chrome and in other contexts where the extension of the filename is needed to find the right external application. Fixes #1952
- Loading branch information
Showing
2 changed files
with
35 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters