From 320a2ccbf52b77bef68cb7619ef06c0d74b883a1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 13 Jun 2016 17:31:05 +0100 Subject: [PATCH] [Feature] Support rspamd_updates via https --- src/plugins/lua/rspamd_update.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/lua/rspamd_update.lua b/src/plugins/lua/rspamd_update.lua index 25898d712..9af937263 100644 --- a/src/plugins/lua/rspamd_update.lua +++ b/src/plugins/lua/rspamd_update.lua @@ -144,7 +144,8 @@ if section then each(function(k, map) -- Check sanity for maps - if map:get_proto() == 'http' and not map:get_sign_key() then + local proto = map:get_proto() + if (proto == 'http' or proto == 'https') and not map:get_sign_key() then if trusted_key then map:set_sign_key(trusted_key) else -- 2.39.5