diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-05 10:45:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-05 10:45:27 +0100 |
commit | a15eaba20a77b536766871ce1d42b6dc11f8d6e3 (patch) | |
tree | e65dc6542ddf5552b0a609af10505545b9b387da /src/libutil/str_util.c | |
parent | 0cb382f10a1480e4c48e0912f9740a65494cb075 (diff) | |
download | rspamd-a15eaba20a77b536766871ce1d42b6dc11f8d6e3.tar.gz rspamd-a15eaba20a77b536766871ce1d42b6dc11f8d6e3.zip |
Revert "[Fix] Escape utf in regexp to dodge ragel/hyperscan issue"
This reverts commit e658c7fcb5d275f144954b9cea1c34fadfa81902.
Diffstat (limited to 'src/libutil/str_util.c')
-rw-r--r-- | src/libutil/str_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c index 0c8ff7144..290110b2b 100644 --- a/src/libutil/str_util.c +++ b/src/libutil/str_util.c @@ -2591,7 +2591,7 @@ out: 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) { const gchar *p, *end = pattern + slen; gchar *res, *d, t, *tmp_utf = NULL, *dend; |