aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2021-03-23 12:33:16 +0300
committermoisseev <moiseev@mezonplus.ru>2021-03-23 12:33:16 +0300
commitdafbeb045d3d51e2544323da6785428389ee7faf (patch)
tree11a6482853d6f4f30555826394c83751fd2b71a8 /lualib
parentea11c0e7b1eb27f345680e8b6399a45dea5c4dd7 (diff)
downloadrspamd-dafbeb045d3d51e2544323da6785428389ee7faf.tar.gz
rspamd-dafbeb045d3d51e2544323da6785428389ee7faf.zip
[Minor] Add Windows Metafile MIME types (RFC 7903)
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_mime_types.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_mime_types.lua b/lualib/lua_mime_types.lua
index 998d004cf..a03c607d7 100644
--- a/lualib/lua_mime_types.lua
+++ b/lualib/lua_mime_types.lua
@@ -575,7 +575,7 @@ exports.full_extensions_map = {
{"wm", "video/x-ms-wm"},
{"wma", "audio/x-ms-wma"},
{"wmd", "application/x-ms-wmd"},
- {"wmf", "application/x-msmetafile"},
+ {"wmf", {"application/x-msmetafile", "image/wmf", "image/x-wmf"}},
{"wml", "text/vnd.wap.wml"},
{"wmlc", "application/vnd.wap.wmlc"},
{"wmls", "text/vnd.wap.wmlscript"},
@@ -742,4 +742,4 @@ exports.reversed_extensions_map = {
["video/x-msvideo"] = "avi",
}
-return exports \ No newline at end of file
+return exports