From b8b1dab2409ed2573b6b5c58413b4a07f28d2ec1 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Tue, 12 Jul 2016 09:55:11 +0300 Subject: [PATCH] [Minor] Fix MIME_DOUBLE_BAD_EXTENSION options --- src/plugins/lua/mime_types.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 932225f8f..d42a0a7ee 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -88,7 +88,7 @@ local function check_mime_type(task) and not string.match(parts[#parts - 1], '^%d+$') then -- Double extension + bad extension == VERY bad task:insert_result(settings['symbol_double_extension'], badness_mult, { - parts[#parts - 1], ext + '.' .. parts[#parts - 1] .. '.' .. ext }) else -- Just bad extension -- 2.39.5