diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-14 10:08:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-14 10:08:21 +0000 |
commit | d43bc62e0a733b8666aad028628173c71c3fc2f3 (patch) | |
tree | cab183bfd04dee4b25406f79d3c076f244364881 | |
parent | dce02c48d87886154ce05285f4000c371cd1e26f (diff) | |
download | rspamd-d43bc62e0a733b8666aad028628173c71c3fc2f3.tar.gz rspamd-d43bc62e0a733b8666aad028628173c71c3fc2f3.zip |
[Minor] Core: Treat 0x200c as zero width space as well
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index f75916465..a07cb6c8d 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -238,7 +238,7 @@ rspamd_strip_newlines_parse (struct rspamd_task *task, if (uc != -1) { while (p < pe) { - if (uc == 0x200b) { + if (uc == 0x200b || uc == 0x200c) { /* Invisible space ! */ task->flags |= RSPAMD_TASK_FLAG_BAD_UNICODE; part->spaces ++; |