diff --git a/changelog/unreleased/fix-tgz-mimetype.md b/changelog/unreleased/fix-tgz-mimetype.md new file mode 100644 index 0000000000..ce675d1959 --- /dev/null +++ b/changelog/unreleased/fix-tgz-mimetype.md @@ -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 diff --git a/pkg/mime/mime.go b/pkg/mime/mime.go index 0a5ab1ce28..9102491710 100644 --- a/pkg/mime/mime.go +++ b/pkg/mime/mime.go @@ -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",