aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_mime.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index de5c6db33..d6a8a70bf 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -1100,7 +1100,7 @@ exports.anonymize_message = function(task, settings)
local clean_url = url:get_host()
local path = url:get_path()
if path and path ~= "/" then
- clean_url = clean_url .. path
+ clean_url = string.format("%s/%s", clean_url, path)
end
return string.format('https://%s', clean_url)
end