Skip to content

Commit a5c74cf

Browse files
authored
Merge pull request #51412 from nextcloud/backport/51405/stable30
[stable30] fix(mimetypes): drop `tar.gz` and `tar.bz2` and adjust `tgz`
2 parents 6596946 + 2e9fadf commit a5c74cf

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

resources/config/mimetypealiases.dist.json

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
"application/x-7z-compressed": "package/x-generic",
7777
"application/x-bzip2": "package/x-generic",
7878
"application/x-cbr": "text",
79-
"application/x-compressed": "package/x-generic",
8079
"application/x-dcraw": "image",
8180
"application/x-deb": "package/x-generic",
8281
"application/x-fictionbook+xml": "text",

resources/config/mimetypemapping.dist.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,12 @@
187187
"srf": ["image/x-dcraw"],
188188
"svg": ["image/svg+xml", "text/plain"],
189189
"swf": ["application/x-shockwave-flash", "application/octet-stream"],
190-
"tar.bz2": ["application/x-bzip2"],
191-
"tar.gz": ["application/x-compressed"],
192190
"tar": ["application/x-tar"],
193191
"tbz2": ["application/x-bzip2"],
194192
"tcx": ["application/vnd.garmin.tcx+xml"],
195193
"tex": ["application/x-tex"],
196194
"tga": ["image/tga"],
197-
"tgz": ["application/x-compressed"],
195+
"tgz": ["application/gzip"],
198196
"tif": ["image/tiff"],
199197
"tiff": ["image/tiff"],
200198
"ttf": ["application/font-sfnt"],

0 commit comments

Comments
 (0)