summaryrefslogtreecommitdiffstats
path: root/resources/config
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2016-03-04 22:09:52 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2016-05-30 18:50:14 +0300
commit6c70e847dd1a53f6d27bc485c1fb346f99c537d2 (patch)
tree56ad6ad1d88a99ee8808a6ae9d8390288473ee4a /resources/config
parent0e3a0e0fdb17938d473434d94e3c16c1c5dccf73 (diff)
downloadnextcloud-server-6c70e847dd1a53f6d27bc485c1fb346f99c537d2.tar.gz
nextcloud-server-6c70e847dd1a53f6d27bc485c1fb346f99c537d2.zip
Add bzip2 to known mimetypes
Diffstat (limited to 'resources/config')
-rw-r--r--resources/config/mimetypealiases.dist.json1
-rw-r--r--resources/config/mimetypemapping.dist.json3
2 files changed, 4 insertions, 0 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json
index 2c508ec4fab..2a1e8485780 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -56,6 +56,7 @@
"application/vnd.visio": "x-office/document",
"application/vnd.wordperfect": "x-office/document",
"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",
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index 3498172f1d3..16f5027d626 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -19,6 +19,7 @@
"bin": ["application/x-bin"],
"bmp": ["image/bmp"],
"bpg": ["image/bpg"],
+ "bz2": ["application/x-bzip2"],
"cb7": ["application/x-cbr"],
"cba": ["application/x-cbr"],
"cbr": ["application/x-cbr"],
@@ -148,7 +149,9 @@
"svg": ["image/svg+xml", "text/plain"],
"swf": ["application/x-shockwave-flash", "application/octet-stream"],
"tar": ["application/x-tar"],
+ "tar.bz2": ["application/x-bzip2"],
"tar.gz": ["application/x-compressed"],
+ "tbz2": ["application/x-bzip2"],
"tex": ["application/x-tex"],
"tgz": ["application/x-compressed"],
"tiff": ["image/tiff"],