commit f4d44ad: [Minor] Add image/x-ms-bmp CT

GitHub noreply at github.com
Sat Apr 11 13:35:17 UTC 2020


Author: Alexander Moisseev
Date: 2020-04-11 09:44:05 +0300
URL: https://github.com/rspamd/rspamd/commit/f4d44ad549552af244d613190354d583761d2e76 (refs/pull/3331/head)

[Minor] Add image/x-ms-bmp CT

---
 lualib/lua_mime.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index 6d8d75b9b..0dfeafd60 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -309,7 +309,7 @@ exports.full_extensions_map = {
   {"bas", "text/plain"},
   {"bcpio", "application/x-bcpio"},
   {"bin", "application/octet-stream"},
-  {"bmp", "image/bmp"},
+  {"bmp", {"image/bmp", "image/x-ms-bmp"}},
   {"c", "text/plain"},
   {"cab", "application/octet-stream"},
   {"caf", "audio/x-caf"},


More information about the Commits mailing list