From: Vsevolod Stakhov Date: Tue, 30 Apr 2019 15:49:41 +0000 (+0100) Subject: [Minor] Fix vault path X-Git-Tag: 1.9.3~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=36b8fd55cd08a825443d3710467bd18de11faa95;p=rspamd.git [Minor] Fix vault path --- diff --git a/lualib/lua_dkim_tools.lua b/lualib/lua_dkim_tools.lua index 3ef2eec30..d98ed10f9 100644 --- a/lualib/lua_dkim_tools.lua +++ b/lualib/lua_dkim_tools.lua @@ -562,8 +562,8 @@ exports.sign_using_vault = function(N, task, settings, selectors, sign_func, err local http = require "rspamd_http" local ucl = require "ucl" - local full_url = string.format('%s/v1/%s', - settings.vault_url, selectors.domain) + local full_url = string.format('%s/v1/%s/%s', + settings.vault_url, settings.vault_path or 'dkim', selectors.domain) local function vault_callback(err, code, body, _) if code ~= 200 then