Skip to content

Commit f17c3cd

Browse files
authored
Merge pull request #51413 from nextcloud/backport/51405/stable31
[stable31] fix(mimetypes): drop `tar.gz` and `tar.bz2` and adjust `tgz`
2 parents aebc080 + d8c0852 commit f17c3cd

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
@@ -81,7 +81,6 @@
8181
"application/x-7z-compressed": "package/x-generic",
8282
"application/x-bzip2": "package/x-generic",
8383
"application/x-cbr": "text",
84-
"application/x-compressed": "package/x-generic",
8584
"application/x-dcraw": "image",
8685
"application/x-deb": "package/x-generic",
8786
"application/x-fictionbook+xml": "text",

resources/config/mimetypemapping.dist.json

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

0 commit comments

Comments
 (0)