You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On clicking of an image link in any integrating app that has a link to /web/media?url=<s3 url>, the image should be displayed in browser and not downloaded. Currently for images uploaded via DEA, the images are downloaded on click instead of rendered in browser.
Root cause
'Content-Type' header is not set for images uploaded from DEA using server API /web/uploadMedia and as a result the default content type application/octet-stream is set on the file leading to this behaviour.
https://avni.freshdesk.com/a/tickets/5013
Describe the bug
On clicking of an image link in any integrating app that has a link to
/web/media?url=<s3 url>
, the image should be displayed in browser and not downloaded. Currently for images uploaded via DEA, the images are downloaded on click instead of rendered in browser.Root cause
'Content-Type' header is not set for images uploaded from DEA using server API
/web/uploadMedia
and as a result the default content typeapplication/octet-stream
is set on the file leading to this behaviour.For reference, for images uploaded from android, we are fixing the extension and setting Content-Type.
To Reproduce
Steps to reproduce the behavior:
/web/media?url=<s3 url>
urlExpected behavior
Screenshots
Video in ticket.
Additional context
Add any other context about the problem here.
Developer Checklist
Developer fixing the bug should fill this checklist.
The text was updated successfully, but these errors were encountered: