airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-3265) Wagtail: add support for viewing pdf files in browser
Date Mon, 11 Nov 2019 21:13:00 GMT

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

Mime
View raw message