From a15eaba20a77b536766871ce1d42b6dc11f8d6e3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 5 Jun 2019 10:45:27 +0100 Subject: Revert "[Fix] Escape utf in regexp to dodge ragel/hyperscan issue" This reverts commit e658c7fcb5d275f144954b9cea1c34fadfa81902. --- src/libutil/str_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libutil/str_util.c') 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; -- cgit v1.2.3