commit e70bc00: [Minor] Mime_types: Add application/tlsrpt+gzip as known type

Vsevolod Stakhov vsevolod at rspamd.com
Thu Sep 8 22:35:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-09-08 23:32:58 +0100
URL: https://github.com/rspamd/rspamd/commit/e70bc00333e7639ac5f05bce2893221a589e451a (HEAD -> master)

[Minor] Mime_types: Add application/tlsrpt+gzip as known type
Issue: #4243

---
 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 45784da6d..fc069d1a5 100644
--- a/lualib/lua_mime_types.lua
+++ b/lualib/lua_mime_types.lua
@@ -183,7 +183,7 @@ exports.full_extensions_map = {
     {"group", "text/x-ms-group"},
     {"gsm", "audio/x-gsm"},
     {"gtar", "application/x-gtar"},
-    {"gz", {"application/gzip", "application/x-gzip"}},
+    {"gz", {"application/gzip", "application/x-gzip", "application/tlsrpt+gzip"}},
     {"h", "text/plain"},
     {"hdf", "application/x-hdf"},
     {"hdml", "text/x-hdml"},


More information about the Commits mailing list