Skip to content
Unverified Commit 405bbc1c authored by Morris Jobke's avatar Morris Jobke
Browse files

Improve mimetype detection for object storages



Object storage instances always fall back to the content based mimetype detection, because the file name for object storage was always random due to the fact that it was temporarily storage in a generated temp file. This patch adds a check before that to make sure to use the original file name for this purpose and also remove possible other extensions like the versioning or part file extension.

Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 9f5e1648
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment