You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/11/11 21:13:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16971852#comment-16971852 ] 

ASF subversion and git services commented on AIRAVATA-3265:
-----------------------------------------------------------

Commit 51e6b4a029bd94e26b58b087eb34c862d50a2932 in airavata-django-portal's branch refs/heads/master from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=51e6b4a ]

AIRAVATA-3265 Redirect to direct url for PDF


> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)