]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Preserve duplicate URLs across MIME parts
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 6 Mar 2026 08:44:21 +0000 (08:44 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 6 Mar 2026 08:46:32 +0000 (08:46 +0000)
commit80f7567fb425b59488893aa7a5cc59bf823d6670
tree3059dce8ea3926ed743b6c61f2a2eb9ab8478519
parent69a7647d600e0e083c3c2c2cdf0003fa8ef3adaa
[Fix] Preserve duplicate URLs across MIME parts

Do not suppress URLs from mime_part:get_urls() when the same URL was already seen in another MIME part. This restores per-part URL visibility for multipart/alternative messages and keeps text/plain URLs available even when text/html contains the same links.
src/libserver/html/html.cxx
src/libserver/url.c
src/lua/lua_task.c
test/lua/unit/task.lua