Files upload via the media library to the Azure Blob Storage are by default receiving a content type of "application/octet-stream" when stored in the container.
This can be problematic with direct URLs to the blob artefact or CDN as it can result in the file being downloaded as an attachment instead of rendered.
Expected behavior
On upload to the blob storage container, set the file's content type based on the file extension.
e.g. .jpg = image/jpg
Brief bug description
Files upload via the media library to the Azure Blob Storage are by default receiving a content type of "application/octet-stream" when stored in the container.
This can be problematic with direct URLs to the blob artefact or CDN as it can result in the file being downloaded as an attachment instead of rendered.
Expected behavior
On upload to the blob storage container, set the file's content type based on the file extension. e.g. .jpg = image/jpg