Skip to content

Commit

Permalink
[Minor] Parse remaning content when reaching html limit
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jun 13, 2023
1 parent 639abba commit 1496f88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libserver/html/html.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 1496f88

Please sign in to comment.