From 3422f780bf7fd4eae416673caac77d04bb39081b Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Wed, 26 Aug 2026 16:55:37 +0300 Subject: [PATCH] Make pcre_extend work The filter walked its list of access rules but tested the first entry each time round, so anything pcre_extend appended was never consulted and the command did nothing at all. Test the entry the loop is on. --- src/pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcre.c b/src/pcre.c index 81710a3..d268a25 100644 --- a/src/pcre.c +++ b/src/pcre.c @@ -277,7 +277,7 @@ static FILTER_ACTION pcre_filter_buffer(void *fc, struct clientparam *param, uns #define pcrefd ((struct pcre_filter_data *)fc) for(acl = pcrefd->acl; acl; acl=acl->next){ - if(pl->ACLMatches(pcrefd->acl, param)){ + if(pl->ACLMatches(acl, param)){ match = 1; break; }