Skip to content

Commit

Permalink
fix the tgz mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
2403905 committed Nov 21, 2023
1 parent 5e37a19 commit cd40fd7
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 cd40fd7

Please sign in to comment.