From b9fd040a7ada7854bb1838c7f5b3317c954500bf Mon Sep 17 00:00:00 2001 From: cathugger Date: Sat, 20 Jan 2018 20:14:12 +0000 Subject: [PATCH] some tweaks --- filters.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filters.h b/filters.h index 87ff52f..d7c7d71 100644 --- a/filters.h +++ b/filters.h @@ -594,7 +594,8 @@ do { \ base32_to(pkconvbuf,pk,PUBLIC_LEN); \ size_t __l = VEC_LENGTH(filters); \ for (it = 0;it < __l;++it) { \ - int rc = pcre2_match(VEC_BUF(filters,it).re,(PCRE2_SPTR8)pkconvbuf,BASE32_TO_LEN(PUBLIC_LEN),0,0,pcre2md,0); \ + int rc = pcre2_match(VEC_BUF(filters,it).re,(PCRE2_SPTR8)pkconvbuf,BASE32_TO_LEN(PUBLIC_LEN),0, \ + PCRE2_NO_UTF_CHECK,pcre2md,0); \ if (unlikely(rc >= 0)) { \ code; \ break; \