diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-14 17:36:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-14 17:36:27 +0100 |
commit | 590fea4d3ffc85e1a8c57a5d550d7bf46c79eb7d (patch) | |
tree | c8d007ae4fc42028cfd1ac0e17b919dc0186fc6e /src/libutil/multipattern.c | |
parent | 11ca56b853bebb6cec3fa89fc183ac83e1a2f35e (diff) | |
download | rspamd-590fea4d3ffc85e1a8c57a5d550d7bf46c79eb7d.tar.gz rspamd-590fea4d3ffc85e1a8c57a5d550d7bf46c79eb7d.zip |
[Fix] Some more fixes for urls parser
Diffstat (limited to 'src/libutil/multipattern.c')
-rw-r--r-- | src/libutil/multipattern.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/multipattern.c b/src/libutil/multipattern.c index d8cbd77d9..838191363 100644 --- a/src/libutil/multipattern.c +++ b/src/libutil/multipattern.c @@ -17,6 +17,7 @@ #include "config.h" #include "libutil/multipattern.h" #include "libutil/str_util.h" +#include "logger.h" #ifdef WITH_HYPERSCAN #include "hs.h" @@ -398,7 +399,7 @@ rspamd_multipattern_add_pattern (struct rspamd_multipattern *mp, fl |= HS_FLAG_CASELESS; } if (mp->flags & RSPAMD_MULTIPATTERN_UTF8) { - fl |= HS_FLAG_UTF8; + fl |= HS_FLAG_UTF8|HS_FLAG_UCP; } g_array_append_val (mp->hs_flags, fl); |