aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_magic/heuristics.lua3
-rw-r--r--lualib/lua_magic/types.lua5
2 files changed, 7 insertions, 1 deletions
diff --git a/lualib/lua_magic/heuristics.lua b/lualib/lua_magic/heuristics.lua
index e9f8f847e..01fa046c0 100644
--- a/lualib/lua_magic/heuristics.lua
+++ b/lualib/lua_magic/heuristics.lua
@@ -55,7 +55,8 @@ local zip_patterns = {
[[mimetypeapplication/vnd\.oasis\.opendocument\.chart]]
},
odp = {[[mimetypeapplication/vnd\.oasis\.opendocument\.presentation]]},
- epub = {[[epub\+zip]]}
+ epub = {[[epub\+zip]]},
+ asice = {[[mimetypeapplication/vnd\.etsi\.asic-e\+zipPK]]},
}
local txt_trie
diff --git a/lualib/lua_magic/types.lua b/lualib/lua_magic/types.lua
index 32f9f4e73..5ab50d9bc 100644
--- a/lualib/lua_magic/types.lua
+++ b/lualib/lua_magic/types.lua
@@ -125,6 +125,11 @@ local types = {
ct = 'application/x-alz',
type = 'archive',
},
+ -- https://en.wikipedia.org/wiki/Associated_Signature_Containers
+ asice = {
+ ct = 'application/vnd.etsi.asic-e+zip',
+ type = 'archive'
+ },
xar = {
ct = 'application/x-xar',
type = 'archive',