You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2019/11/12 21:06:00 UTC
[jira] [Updated] (AIRAVATA-3265) Wagtail: add support for viewing
pdf files in browser
[ https://issues.apache.org/jira/browse/AIRAVATA-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Christie updated AIRAVATA-3265:
--------------------------------------
Description:
Wagtail adds `Content-disposition: attachment` to PDF file requests, causing them to be downloaded instead of opening them in the browser window.
Resources:
- https://stackoverflow.com/a/47304529
- https://docs.wagtail.io/en/v2.0.2/reference/hooks.html#document-serving
h5. Steps to reproduce
# Go to https://ampgateway.org
# Click on the pdf link: https://ampgateway.org/documents/1/AMP-Gateway-Workshop-Dec2019-at-NIST.pdf
h5.
was:
Wagtail adds `Content-disposition: attachment` to PDF file requests, causing them to be downloaded instead of opening them in the browser window.
Resources:
- https://stackoverflow.com/a/47304529
- https://docs.wagtail.io/en/v2.0.2/reference/hooks.html#document-serving
> Wagtail: add support for viewing pdf files in browser
> -----------------------------------------------------
>
> Key: AIRAVATA-3265
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3265
> Project: Airavata
> Issue Type: Bug
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> Wagtail adds `Content-disposition: attachment` to PDF file requests, causing them to be downloaded instead of opening them in the browser window.
> Resources:
> - https://stackoverflow.com/a/47304529
> - https://docs.wagtail.io/en/v2.0.2/reference/hooks.html#document-serving
> h5. Steps to reproduce
> # Go to https://ampgateway.org
> # Click on the pdf link: https://ampgateway.org/documents/1/AMP-Gateway-Workshop-Dec2019-at-NIST.pdf
> h5.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)