aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-16 14:32:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-16 14:32:55 +0100
commitce44c3c10be7eea45f78e7f375fd4fde7887ecfa (patch)
tree79426ca0dddab757f232cecb42d06ae149e4bc31 /src/libserver/html.c
parent7faea5fe775fb8ebda2ae8787c0577670d0b8ed7 (diff)
downloadrspamd-ce44c3c10be7eea45f78e7f375fd4fde7887ecfa.tar.gz
rspamd-ce44c3c10be7eea45f78e7f375fd4fde7887ecfa.zip
Find HTML comment end properly.
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r--src/libserver/html.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index 0f7f98758..914d21feb 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -1560,6 +1560,10 @@ rspamd_html_process_part (rspamd_mempool_t *pool, struct html_content *hc,
state = tag_end;
continue;
}
+ else {
+ ebrace = 0;
+ }
+
p ++;
break;