diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-03 14:57:59 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-20 11:22:11 +0100 |
commit | b22b6431d2b0a7f201bb677a3e125f0ae218d6c6 (patch) | |
tree | 078252df3ff58d9738a595f2c32a02b36f1c24e2 /resources | |
parent | 9acb982333f35f001538c51be1a63849357eb59a (diff) | |
download | nextcloud-server-b22b6431d2b0a7f201bb677a3e125f0ae218d6c6.tar.gz nextcloud-server-b22b6431d2b0a7f201bb677a3e125f0ae218d6c6.zip |
Fix gzip mimetype mapping
PHP now detects it as application/gzip and not application/x-gzip anymore
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/config/mimetypealiases.dist.json | 4 | ||||
-rw-r--r-- | resources/config/mimetypemapping.dist.json | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 1840dca5fb9..68d39650ad9 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -13,6 +13,7 @@ "application/font-sfnt": "image", "application/font-woff": "image", "application/gpx+xml": "location", + "application/gzip": "package/x-generic", "application/illustrator": "image", "application/javascript": "text/code", "application/json": "text/code", @@ -80,7 +81,7 @@ "application/x-fictionbook+xml": "text", "application/x-font": "image", "application/x-gimp": "image", - "application/x-gzip": "package/x-generic", + "application/x-gzip": "application/gzip", "application/x-iwork-keynote-sffkey": "x-office/presentation", "application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet", "application/x-iwork-pages-sffpages": "x-office/document", @@ -115,4 +116,3 @@ "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform": "x-office/form", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf": "x-office/form-template" } - diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index 1c1a0f93c43..ff321657da5 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -65,8 +65,8 @@ "fodt": ["application/vnd.oasis.opendocument.text-flat-xml"], "gif": ["image/gif"], "gpx": ["application/gpx+xml"], - "gz": ["application/x-gzip"], - "gzip": ["application/x-gzip"], + "gz": ["application/gzip"], + "gzip": ["application/gzip"], "h": ["text/x-h"], "heic": ["image/heic"], "heif": ["image/heif"], |