diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-12-09 15:23:05 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-12-09 15:23:05 +0000 |
commit | 2f181c45db9c0dd324ffd7c1873d1d752761377b (patch) | |
tree | 3a007bba8927146ab83416f24c21acc965a9de76 | |
parent | 14b7742ea4de1bc258bf4031da637d9caf27c23f (diff) | |
download | rspamd-2f181c45db9c0dd324ffd7c1873d1d752761377b.tar.gz rspamd-2f181c45db9c0dd324ffd7c1873d1d752761377b.zip |
[Minor] Fix urls path issue
-rw-r--r-- | lualib/lua_mime.lua | 2 |
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 |