commit 3535e32: [Minor] Fix compatibility with cdb://

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Feb 14 17:42:10 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-02-14 17:39:00 +0000
URL: https://github.com/rspamd/rspamd/commit/3535e32ecdfc118c4d03979a182f81e7e33beb7f (HEAD -> master)

[Minor] Fix compatibility with cdb://

---
 lualib/lua_maps.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lualib/lua_maps.lua b/lualib/lua_maps.lua
index 52e97fece..c7c331fc7 100644
--- a/lualib/lua_maps.lua
+++ b/lualib/lua_maps.lua
@@ -69,6 +69,7 @@ local function maybe_adjust_type(data,mtype)
     {'hash;', 'hash'},
     {'plain;', 'hash'},
     {'cdb;', 'cdb'},
+    {'cdb:/', 'cdb'},
   }
 
   for _,t in ipairs(known_types) do


More information about the Commits mailing list