aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-28 21:31:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-28 21:31:34 +0100
commitee7d80050320d2c171ba5c4d5271615476464f97 (patch)
tree6d9e79442ebeb0b73518cb46ce89dca03c5e04a1 /lualib
parentdfe0b1009756bfc91609e95de2923a6e59bf7a2d (diff)
downloadrspamd-ee7d80050320d2c171ba5c4d5271615476464f97.tar.gz
rspamd-ee7d80050320d2c171ba5c4d5271615476464f97.zip
[Minor] Fix FP with JFIF files
Issue: #3947
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_mime_types.lua2
1 files changed, 1 insertions, 1 deletions
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"}},