diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-06-13 22:10:17 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-06-13 22:10:17 +0100 |
commit | 1496f881cf050fd73a558eaf30e051d72c12e549 (patch) | |
tree | bbb04cb35bc8474738cbf133fe6f75c8ffb0f713 /src | |
parent | 639abbadd8c08352210ef99e162013e77b784ec9 (diff) | |
download | rspamd-1496f881cf050fd73a558eaf30e051d72c12e549.tar.gz rspamd-1496f881cf050fd73a558eaf30e051d72c12e549.zip |
[Minor] Parse remaning content when reaching html limit
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/html/html.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx index 91a59c8d0..a848a25d3 100644 --- a/src/libserver/html/html.cxx +++ b/src/libserver/html/html.cxx @@ -2161,7 +2161,8 @@ html_process_input(struct rspamd_task *task, * further algorithms can skip words when auto *pool = task->task_pool;there are too many. * It is still unclear about urls though... */ - hc->parsed.append(end, in->len - process_size); + html_append_parsed(hc, {end, in->len - process_size}, false, + end - start, hc->parsed); } if (!hc->parsed.empty()) { |