Skip to content

Commit

Permalink
Merge pull request #4352 from 2403905/issue-7744
Browse files Browse the repository at this point in the history
fix the tgz mime type
  • Loading branch information
2403905 authored Nov 21, 2023
2 parents 5e37a19 + cd40fd7 commit 6f872b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-tgz-mimetype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Fix the tgz mime type

We have fixed a bug when the tgz mime type was not "application/gzip"

https://github.com/cs3org/reva/pull/4352
1 change: 1 addition & 0 deletions pkg/mime/mime.go
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,7 @@ var mimeTypes = map[string]string{
"tfm": "application/x-tex-tfm",
"tfx": "image/tiff-fx",
"tga": "image/x-tga",
"tgz": "application/gzip",
"thmx": "application/vnd.ms-officetheme",
"tif": "image/tiff",
"tiff": "image/tiff",
Expand Down

0 comments on commit 6f872b2

Please sign in to comment.