airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (Jira)" <j...@apache.org>
Subject [jira] [Updated] (AIRAVATA-3265) Wagtail: add support for viewing pdf files in browser
Date Tue, 12 Nov 2019 21:06:00 GMT

     [ 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)

Mime
View raw message