From: Vsevolod Stakhov Date: Thu, 28 Oct 2021 20:31:34 +0000 (+0100) Subject: [Minor] Fix FP with JFIF files X-Git-Tag: 3.1~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ee7d80050320d2c171ba5c4d5271615476464f97;p=rspamd.git [Minor] Fix FP with JFIF files Issue: #3947 --- 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"}},