Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Oyler <john.m.oyler@gmail.com>2018-05-16 18:12:21 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-07-10 22:23:35 +0300
commit489103eede395b5a89e2241032a9d0cc2eb7b73e (patch)
tree08fcd68c09607afbdfc8c21ceab505615f75991e /resources
parenta22bc0e78758a86000b1023c93e554ebca696493 (diff)
Give the various comic book file formats distinct mime types so that they can be handled correctly by the preview functionality without file type checking at that point.
Diffstat (limited to 'resources')
-rw-r--r--resources/config/mimetypemapping.dist.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index 2f16e45a4a8..e2771be6e89 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -21,12 +21,12 @@
"bmp": ["image/bmp"],
"bpg": ["image/bpg"],
"bz2": ["application/x-bzip2"],
- "cb7": ["application/x-cbr"],
- "cba": ["application/x-cbr"],
- "cbr": ["application/x-cbr"],
- "cbt": ["application/x-cbr"],
- "cbtc": ["application/x-cbr"],
- "cbz": ["application/x-cbr"],
+ "cb7": ["application/comicbook+7z"],
+ "cba": ["application/comicbook+ace"],
+ "cbr": ["application/comicbook+rar"],
+ "cbt": ["application/comicbook+tar"],
+ "cbtc": ["application/comicbook+truecrypt"],
+ "cbz": ["application/comicbook+zip"],
"cc": ["text/x-c"],
"cdr": ["application/coreldraw"],
"class": ["application/java"],