-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2021, 2023.0
-
Component/s: S3
-
Release Notes Summary:Blobs are now displayed in the browser with inline parameter and S3 direct download
-
Tags:
-
Backlog priority:650
-
Sprint:nxplatform #119
-
Story Points:3
According to this documentation: https://doc.nuxeo.com/nxdoc/downloading-files/, using the inline parameter in the url will show the blob in the browser. When s3 direct download is enabled, the inline parameter doesn't seem to be taken into account and the blob is downloaded rather then being shown in the browser.
Steps to reproduce:
- On a Nuxeo instance configured with S3 storage, enable direct download using the following nuxeo.conf parameters:
nuxeo.s3storage.directdownload=true nuxeo.s3storage.directdownload.expire=120
- In browser, attempt to navigate to a Document's main file download URL and append "?inline=true", for example:
http://localhost:8080/nuxeo/nxfile/default/002253db-4f84-4004-83c5-35898f4dc6aa/file:content/sample.png?inline=true
Expected result: main Document blob is downloaded and displays in-browser
Actual result: the blob is downloaded without displaying in-browser (as if inline=true was never passed)
Note: disabling direct download will result in the inline parameter being properly applied.