]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Feature] Pass lua_State through HTML URL processing
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 14 Nov 2025 18:18:32 +0000 (18:18 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 14 Nov 2025 18:18:32 +0000 (18:18 +0000)
commitcf6998cfa49396f96e3e6875a1fd2e6aa4238c3f
tree4f4b0db824a945d5ab1c90b3da6bce7b58ed359e
parent5502c602f18ef007070410adf7ae41c99e7d3193
[Feature] Pass lua_State through HTML URL processing

- Add lua_State parameter to html_process_url() and html_process_url_tag()
- Add lua_State parameter to html_check_displayed_url() and html_process_displayed_href_tag()
- Add lua_State parameter to html_process_query_url()
- Pass task->cfg->lua_state from html_process_input() to all URL processing functions
- All rspamd_url_parse() calls in HTML now have proper lua_State
- HTML URL processing now benefits from Lua filter consultation
- Completes lua_State plumbing - now universally available throughout URL processing chain
src/libserver/html/html.cxx
src/libserver/html/html_url.cxx
src/libserver/html/html_url.hxx