diff options
Diffstat (limited to 'lualib/lua_content/pdf.lua')
-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 b410c2a14..fbb7482c1 100644 --- a/lualib/lua_content/pdf.lua +++ b/lualib/lua_content/pdf.lua @@ -1066,7 +1066,7 @@ local function search_urls(task, pdf) elseif k == 'URI' then v = maybe_dereference_object(v, pdf, task) if type(v) == 'string' then - local url = rspamd_url.create(task:get_mempool(), v) + local url = rspamd_url.create(task:get_mempool(), v, {'content'}) if url then lua_util.debugm(N, task, 'found url %s in object %s:%s', |