diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-08-06 12:06:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-08-06 12:06:46 +0100 |
commit | 24e4be3ec08c4d0bd4bf23f3366817e71fc4f365 (patch) | |
tree | 3624e1f40beaa53add8e99bd6a70c6dcaf93a8a6 /lualib/lua_content | |
parent | ba66d6a5bb73f10515484315c6b676603cd0edf1 (diff) | |
download | rspamd-24e4be3ec08c4d0bd4bf23f3366817e71fc4f365.tar.gz rspamd-24e4be3ec08c4d0bd4bf23f3366817e71fc4f365.zip |
[Minor] Lua_content: Use hex representation of fuzzy hashes
Diffstat (limited to 'lualib/lua_content')
-rw-r--r-- | lualib/lua_content/pdf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |