From: Vsevolod Stakhov Date: Thu, 6 Aug 2020 11:06:00 +0000 (+0100) Subject: [Minor] Lua_content: Use hex representation of fuzzy hashes X-Git-Tag: 2.6~168 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=24e4be3ec08c4d0bd4bf23f3366817e71fc4f365;p=rspamd.git [Minor] Lua_content: Use hex representation of fuzzy hashes --- diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua index 7b940ff0d..fd3317bac 100644 --- a/lualib/lua_content/pdf.lua +++ b/lualib/lua_content/pdf.lua @@ -543,7 +543,7 @@ local function process_javascript(task, pdf, js) local njs = { data = js, - hash = rspamd_util.encode_base32(bin_hash), + hash = hash:hex(), bin_hash = bin_hash, } pdf.scripts[bin_hash] = njs