When DownloadService is configured to provide final download links, ELEMENTS-1544 appends a clientReason URL parameter to the link - this results in a 403 error if having set up S3 storage with Cloudfront distribution.
Steps to Reproduce:
1. In a Nuxeo instance configured with S3 storage & Cloudfront distribution, configure the following contribution:
<require>org.nuxeo.ecm.core.io.download.DownloadService</require> <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration"> <property name="org.nuxeo.download.url.follow.redirect">true</property> </extension>
2. In Web UI, attempt to open a Document with a blob attachment.
Expected behavior: Request URL accepted and successfully returns downloaded blob.
Actual behavior: Request URL refused with a 403 error.
AC
If the URL for downloading the blob starts with the nuxeo base url, then the clientReason parameter should be appended
If not, the clientReason parameter should NOT be added to the URL
- clones
-
WEBUI-1171 Fix direct download URL failing with appended clientReason parameter
- Resolved
- is related to
-
WEBUI-1211 View vs Download not working on cloud server
- Resolved
-
ELEMENTS-1641 Use feature flag for view vs download
- Resolved
-
ELEMENTS-1635 Video preview not working
- Resolved
-
NXP-28599 Blob properties should expose final URL if possible
- Resolved
-
ELEMENTS-1544 Distinguish view vs download in document history tab -ELEMENTS
- Resolved
-
ELEMENTS-1642 Preview and download not working in cloud server with custom config
- Resolved
-
WEBUI-1196 Generate, verify and testing the RC version
- Resolved
- links to
1.
|
Kindly remove repetitive code. | Resolved | Swarnadipa Choudhury |
|