Skip to content

Commit bada83a

Browse files
authored
Merge pull request #51405 from nextcloud/fix/mime
fix(mimetypes): drop `tar.gz` and `tar.bz2` and adjust `tgz`
2 parents 4df9ab4 + a234ef1 commit bada83a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

resources/config/mimetypealiases.dist.json

Lines changed: 0 additions & 1 deletion
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

Lines changed: 1 addition & 3 deletions
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)