S3 CDN URL not being used on non-image uploads

@martin regarding Attachment links, I cannot see how they can be set to always “force download”. Right now when uploading a non-image file, the resulting rendered url is a short-url without the ?dl=1 param which is resolved to the value of the url attribute of the corresponding upload (which is not a presigned_url and also fails in our case as the url is not the s3 cdn_url but a constructed one that might only work for certain s3 providers).

Is there a way to always force download attachments, or is the current behavior actually a bug?

1 Like