Skip to content

Commit cf49cc1

Browse files
committed
MOBILE-1984 fs: Add new mimetypes
1 parent a997fe1 commit cf49cc1

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

www/core/assets/mimetoext.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"application/vnd.lotus-approach": ["apr"],
3636
"application/x-freearc": ["arc"],
3737
"text/plain": ["txt", "asa", "ascx", "ashx", "asmx", "asp", "aspx", "axd", "conf", "cs", "def", "in", "ini", "list", "log", "php", "rb", "text"],
38-
"application/octet-stream": ["bin", "asax", "bpk", "crx", "deploy", "dist", "distz", "dms", "dump", "elc", "hta", "ipa", "lrf", "mar", "phar", "pkg", "safariextz", "so"],
38+
"application/octet-stream": ["bin", "asax", "bpk", "crx", "deploy", "dist", "distz", "dms", "dump", "elc", "fdk", "hta", "ipa", "lrf", "mar", "phar", "pkg", "safariextz", "so"],
3939
"application/pgp-signature": ["asc", "sig"],
4040
"video/x-ms-asf": ["asf", "asx"],
4141
"text/x-asm": ["asm", "s"],
@@ -118,7 +118,9 @@
118118
"application/mac-compactpro": ["cpt"],
119119
"application/x-mscardfile": ["crd"],
120120
"application/pkix-crl": ["crl"],
121+
"application/x-pkcs7-crl": ["crl"],
121122
"application/x-x509-ca-cert": ["crt", "der"],
123+
"application/x-x509-user-cert": ["crt"],
122124
"application/vnd.rig.cryptonote": ["cryptonote"],
123125
"application/x-csh": ["csh"],
124126
"chemical/x-csml": ["csml"],
@@ -466,15 +468,16 @@
466468
"application/oxps": ["oxps"],
467469
"application/vnd.openofficeorg.extension": ["oxt"],
468470
"text/x-pascal": ["p", "pas"],
469-
"application/pkcs10": ["p10"],
471+
"application/pkcs10": ["p10", "csr"],
470472
"application/x-pkcs12": ["p12", "pfx"],
471473
"application/x-pkcs7-certificates": ["p7b", "spc"],
472474
"application/pkcs7-mime": ["p7c", "p7m"],
473475
"application/x-pkcs7-certreqresp": ["p7r"],
474476
"application/pkcs7-signature": ["p7s"],
475-
"application/pkcs8": ["p8"],
477+
"application/pkcs8": ["p8", "key"],
476478
"application/vnd.pawaafile": ["paw"],
477479
"application/vnd.powerbuilder6": ["pbd"],
480+
"application/x-pem-file": ["pem"],
478481
"image/x-portable-bitmap": ["pbm"],
479482
"application/x-font-pcf": ["pcf"],
480483
"application/vnd.hp-pcl": ["pcl"],

www/core/assets/mimetypes.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@
414414
"fbs" : {"type":"image/vnd.fastbidsheet"},
415415
"fcdt" : {"type":"application/vnd.adobe.formscentral.fcdt"},
416416
"fcs" : {"type":"application/vnd.isac.fcs"},
417+
"fdk" : {"type":"application/octet-stream"},
417418
"fe_launch" : {"type":"application/vnd.denovo.fcselayout-link"},
418419
"fg5" : {"type":"application/vnd.fujitsu.oasysgp"},
419420
"fh" : {"type":"image/x-freehand"},
@@ -695,6 +696,7 @@
695696
"oxt" : {"type":"application/vnd.openofficeorg.extension"},
696697
"p" : {"type":"text/x-pascal"},
697698
"pas" : {"type":"text/x-pascal"},
699+
"csr" : {"type":"application/pkcs10"},
698700
"p10" : {"type":"application/pkcs10"},
699701
"p12" : {"type":"application/x-pkcs12"},
700702
"pfx" : {"type":"application/x-pkcs12"},
@@ -704,6 +706,8 @@
704706
"p7m" : {"type":"application/pkcs7-mime"},
705707
"p7r" : {"type":"application/x-pkcs7-certreqresp"},
706708
"p7s" : {"type":"application/pkcs7-signature"},
709+
"pem" : {"type":"application/x-pem-file"},
710+
"key" : {"type":"application/pkcs8"},
707711
"p8" : {"type":"application/pkcs8"},
708712
"paw" : {"type":"application/vnd.pawaafile"},
709713
"pbd" : {"type":"application/vnd.powerbuilder6"},

0 commit comments

Comments
 (0)