Browse Source

[Minor] Lua_content: Use hex representation of fuzzy hashes

pull/3461/head
Vsevolod Stakhov 6 years ago
parent
commit
24e4be3ec0
  1. 2
      lualib/lua_content/pdf.lua

2
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

Loading…
Cancel
Save