Skip to content

Object store browser not setting Content-Type correctly for files #11092

@abh1sar

Description

@abh1sar

problem

The object store browser is uploading all kinds of files with Content-Type:binary/octet-stream.
This affects how the files are previewed for example image files.

Image

Opening the url on another tab leads to this
Image

versions

ACS 4.21

The steps to reproduce the bug

No response

What to do about it?

The file's content-type should be inferred from the file type extension.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions