Add bzip2 to known mimetypes

This commit is contained in:
Victor Dubiniuk 2016-03-04 22:09:52 +03:00
parent 0e3a0e0fdb
commit 6c70e847dd
3 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,7 @@
"application/vnd.visio": "x-office/document", "application/vnd.visio": "x-office/document",
"application/vnd.wordperfect": "x-office/document", "application/vnd.wordperfect": "x-office/document",
"application/x-7z-compressed": "package/x-generic", "application/x-7z-compressed": "package/x-generic",
"application/x-bzip2": "package/x-generic",
"application/x-cbr": "text", "application/x-cbr": "text",
"application/x-compressed": "package/x-generic", "application/x-compressed": "package/x-generic",
"application/x-dcraw": "image", "application/x-dcraw": "image",

View File

@ -19,6 +19,7 @@
"bin": ["application/x-bin"], "bin": ["application/x-bin"],
"bmp": ["image/bmp"], "bmp": ["image/bmp"],
"bpg": ["image/bpg"], "bpg": ["image/bpg"],
"bz2": ["application/x-bzip2"],
"cb7": ["application/x-cbr"], "cb7": ["application/x-cbr"],
"cba": ["application/x-cbr"], "cba": ["application/x-cbr"],
"cbr": ["application/x-cbr"], "cbr": ["application/x-cbr"],
@ -148,7 +149,9 @@
"svg": ["image/svg+xml", "text/plain"], "svg": ["image/svg+xml", "text/plain"],
"swf": ["application/x-shockwave-flash", "application/octet-stream"], "swf": ["application/x-shockwave-flash", "application/octet-stream"],
"tar": ["application/x-tar"], "tar": ["application/x-tar"],
"tar.bz2": ["application/x-bzip2"],
"tar.gz": ["application/x-compressed"], "tar.gz": ["application/x-compressed"],
"tbz2": ["application/x-bzip2"],
"tex": ["application/x-tex"], "tex": ["application/x-tex"],
"tgz": ["application/x-compressed"], "tgz": ["application/x-compressed"],
"tiff": ["image/tiff"], "tiff": ["image/tiff"],

View File

@ -25,7 +25,7 @@
// We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades // 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 // between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
// when updating major/minor version number. // when updating major/minor version number.
$OC_Version = array(9, 1, 0, 5); $OC_Version = array(9, 1, 0, 6);
// The human readable string // The human readable string
$OC_VersionString = '9.1.0 beta 1'; $OC_VersionString = '9.1.0 beta 1';