diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2025-03-12 09:26:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 09:26:13 +0100 |
commit | d92903c7e1e55ae056f214249b1c5681ff8cd613 (patch) | |
tree | c90f9cd4151cc3ef85bcf5841d1a1ccb130d5230 | |
parent | 5a27942497a5ffe24c3c4f5c8b22b78d89bb17bd (diff) | |
parent | c44656aa0a617c7ec91a10389794c947f90be018 (diff) | |
download | nextcloud-server-d92903c7e1e55ae056f214249b1c5681ff8cd613.tar.gz nextcloud-server-d92903c7e1e55ae056f214249b1c5681ff8cd613.zip |
Merge pull request #51414 from nextcloud/backport/51405/stable29
[stable29] fix(mimetypes): drop `tar.gz` and `tar.bz2` and adjust `tgz`
-rw-r--r-- | resources/config/mimetypealiases.dist.json | 1 | ||||
-rw-r--r-- | resources/config/mimetypemapping.dist.json | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 6fe7db76318..fbe470cc1ae 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -76,7 +76,6 @@ "application/x-7z-compressed": "package/x-generic", "application/x-bzip2": "package/x-generic", "application/x-cbr": "text", - "application/x-compressed": "package/x-generic", "application/x-dcraw": "image", "application/x-deb": "package/x-generic", "application/x-fictionbook+xml": "text", diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index ca515b2c578..7fcc2dcb25e 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -187,14 +187,12 @@ "srf": ["image/x-dcraw"], "svg": ["image/svg+xml", "text/plain"], "swf": ["application/x-shockwave-flash", "application/octet-stream"], - "tar.bz2": ["application/x-bzip2"], - "tar.gz": ["application/x-compressed"], "tar": ["application/x-tar"], "tbz2": ["application/x-bzip2"], "tcx": ["application/vnd.garmin.tcx+xml"], "tex": ["application/x-tex"], "tga": ["image/tga"], - "tgz": ["application/x-compressed"], + "tgz": ["application/gzip"], "tif": ["image/tiff"], "tiff": ["image/tiff"], "ttf": ["application/font-sfnt"], |