aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_encoding.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-26 17:18:52 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-26 17:18:52 +0100
commitdb3d0cb4b994558f63a28011a13a9e08d5f6d1d8 (patch)
tree6932fb4f9ab3e86cbcdf3f69b87301b8de5f2397 /src/libmime/mime_encoding.c
parenta2f3a70f23c69736952b6a9961b0e5c2fddb77f2 (diff)
downloadrspamd-db3d0cb4b994558f63a28011a13a9e08d5f6d1d8.tar.gz
rspamd-db3d0cb4b994558f63a28011a13a9e08d5f6d1d8.zip
[Fix] Replace bad unicode sequences instead of stopping on them
Issue: #2373
Diffstat (limited to 'src/libmime/mime_encoding.c')
-rw-r--r--src/libmime/mime_encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c
index 7a6d4a3cb..c316b264c 100644
--- a/src/libmime/mime_encoding.c
+++ b/src/libmime/mime_encoding.c
@@ -82,7 +82,7 @@ rspamd_mime_get_converter_cached (const gchar *enc, UErrorCode *err)
if (conv != NULL) {
ucnv_setToUCallBack (conv,
UCNV_TO_U_CALLBACK_SUBSTITUTE,
- UCNV_SUB_STOP_ON_ILLEGAL,
+ NULL,
NULL,
NULL,
err);