summaryrefslogtreecommitdiffstats
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
parent0e3a0e0fdb17938d473434d94e3c16c1c5dccf73 (diff)
downloadnextcloud-server-6c70e847dd1a53f6d27bc485c1fb346f99c537d2.tar.gz
nextcloud-server-6c70e847dd1a53f6d27bc485c1fb346f99c537d2.zip
Add bzip2 to known mimetypes
-rw-r--r--resources/config/mimetypealiases.dist.json1
-rw-r--r--resources/config/mimetypemapping.dist.json3
-rw-r--r--version.php2
3 files changed, 5 insertions, 1 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"],
diff --git a/version.php b/version.php
index 708f02ba4b0..ffbafb72fe6 100644
--- a/version.php
+++ b/version.php
@@ -25,7 +25,7 @@
// We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
// when updating major/minor version number.
-$OC_Version = array(9, 1, 0, 5);
+$OC_Version = array(9, 1, 0, 6);
// The human readable string
$OC_VersionString = '9.1.0 beta 1';