From: Vsevolod Stakhov Date: Mon, 13 Jun 2016 16:31:05 +0000 (+0100) Subject: [Feature] Support rspamd_updates via https X-Git-Tag: 1.3.0~355 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=320a2ccbf52b77bef68cb7619ef06c0d74b883a1;p=rspamd.git [Feature] Support rspamd_updates via https --- 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