]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Correct HTML attribute value offset calculation 5676/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 14 Oct 2025 10:07:35 +0000 (11:07 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 14 Oct 2025 10:07:35 +0000 (11:07 +0100)
commit236fe8c7fa7910709c10b9d470133cceddd2620e
tree0a3ef54d41d17d94ba5e62c1a7cc3998f2275d0a
parentc209d42b7f36b2c8024d8b069cfb13b0aa18de60
[Fix] Correct HTML attribute value offset calculation

Fix two issues in HTML parser attribute value span calculation:
1. Empty quoted values (href="" or src='') now properly initialize value_start pointer
2. Unquoted attribute values no longer incorrectly lowercase the first character
src/libserver/html/html.cxx