aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Oyler <john.m.oyler@gmail.com>2018-05-16 10:12:21 -0500
committerRoeland Jago Douma <roeland@famdouma.nl>2018-07-10 21:23:35 +0200
commit489103eede395b5a89e2241032a9d0cc2eb7b73e (patch)
tree08fcd68c09607afbdfc8c21ceab505615f75991e
parenta22bc0e78758a86000b1023c93e554ebca696493 (diff)
downloadnextcloud-server-489103eede395b5a89e2241032a9d0cc2eb7b73e.tar.gz
nextcloud-server-489103eede395b5a89e2241032a9d0cc2eb7b73e.zip
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.
-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"],