commit dc21c1e: [Minor] Add "application/rar" MIME type
GitHub
noreply at github.com
Mon May 24 10:35:05 UTC 2021
Author: Alexander Moisseev
Date: 2021-05-24 12:24:15 +0300
URL: https://github.com/rspamd/rspamd/commit/dc21c1ed44451f32420a15be302b80b4e139633c (refs/pull/3767/head)
[Minor] Add "application/rar" MIME type
---
lualib/lua_mime_types.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lualib/lua_mime_types.lua b/lualib/lua_mime_types.lua
index a03c607d7..bea361d01 100644
--- a/lualib/lua_mime_types.lua
+++ b/lualib/lua_mime_types.lua
@@ -420,7 +420,7 @@ exports.full_extensions_map = {
{"qxd", "application/octet-stream"},
{"ra", "audio/x-pn-realaudio"},
{"ram", "audio/x-pn-realaudio"},
- {"rar", {"application/x-rar-compressed", "application/x-rar", "application/octet-stream"}},
+ {"rar", {"application/x-rar-compressed", "application/x-rar", "application/rar", "application/octet-stream"}},
{"ras", "image/x-cmu-raster"},
{"rat", "application/rat-file"},
{"rc", "text/plain"},
More information about the Commits
mailing list