]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix FP with JFIF files
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 28 Oct 2021 20:31:34 +0000 (21:31 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 28 Oct 2021 20:31:34 +0000 (21:31 +0100)
Issue: #3947

lualib/lua_mime_types.lua

index bea361d010c73b15713b7fb0ba303784adb80068..f0a04066fd133965e813ceec7efb4126074a2cb4 100644 (file)
@@ -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"}},