aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-30 20:30:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-30 20:30:09 +0100
commit983084adb045c84c60e8135b43294c3b37253ea5 (patch)
tree365a23560f794c12ac5d8cf4aedab0a14baaa648 /src/libmime
parentc9e91f011aee0a04ad17c665bffe25539dee323c (diff)
downloadrspamd-983084adb045c84c60e8135b43294c3b37253ea5.tar.gz
rspamd-983084adb045c84c60e8135b43294c3b37253ea5.zip
[Fix] Fix last quote character parsing in the content-type state machine
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/content_type.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/content_type.c b/src/libmime/content_type.c
index 8c50a484e..84a93602f 100644
--- a/src/libmime/content_type.c
+++ b/src/libmime/content_type.c
@@ -509,6 +509,7 @@ rspamd_content_type_parser (gchar *in, gsize len, rspamd_mempool_t *pool)
if (p == end) {
/* Last quote: done... */
+ state = parse_space;
break;
}