diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-04 10:06:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-04 10:06:24 +0100 |
commit | e658c7fcb5d275f144954b9cea1c34fadfa81902 (patch) | |
tree | 87ae0237205cae12e57ce45b7acbe3fab6d11229 /src/libutil/str_util.h | |
parent | 6dbf2e4e35b7be68774ae4a87e582742cb1258f5 (diff) | |
download | rspamd-e658c7fcb5d275f144954b9cea1c34fadfa81902.tar.gz rspamd-e658c7fcb5d275f144954b9cea1c34fadfa81902.zip |
[Fix] Escape utf in regexp to dodge ragel/hyperscan issue
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r-- | src/libutil/str_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h index 8e8898a32..4a5a8a63a 100644 --- a/src/libutil/str_util.h +++ b/src/libutil/str_util.h @@ -466,7 +466,7 @@ enum rspamd_regexp_escape_flags { */ gchar * rspamd_str_regexp_escape (const gchar *pattern, gsize slen, - gsize *dst_len, enum rspamd_regexp_escape_flags flags); + gsize *dst_len, enum rspamd_regexp_escape_flags flags); /** * Returns copy of src (zero terminated) where all unicode is made valid or replaced |