commit ee7d800: [Minor] Fix FP with JFIF files
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Oct 28 20:35:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-10-28 21:31:34 +0100
URL: https://github.com/rspamd/rspamd/commit/ee7d80050320d2c171ba5c4d5271615476464f97 (HEAD -> master)
[Minor] Fix FP with JFIF files
Issue: #3947
---
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 bea361d01..f0a04066f 100644
--- a/lualib/lua_mime_types.lua
+++ b/lualib/lua_mime_types.lua
@@ -239,7 +239,7 @@ exports.full_extensions_map = {
{"java", "application/octet-stream"},
{"jck", "application/liquidmotion"},
{"jcz", "application/liquidmotion"},
- {"jfif", "image/pjpeg"},
+ {"jfif", {"image/jpeg", "image/pjpeg"}},
{"jnlp", "application/x-java-jnlp-file"},
{"jpb", "application/octet-stream"},
{"jpe", {"image/jpeg", "image/pjpeg"}},
More information about the Commits
mailing list