From ee7d80050320d2c171ba5c4d5271615476464f97 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 28 Oct 2021 21:31:34 +0100 Subject: [PATCH] [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"}}, -- 2.39.5