From 04365e77bb11de27f8321ad2a5373e0940a41720 Mon Sep 17 00:00:00 2001 From: An Tao Date: Thu, 9 Nov 2023 12:47:02 +0800 Subject: [PATCH] Fix a bug of the GlobalFilters plugin (#1842) --- lib/src/GlobalFilters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/GlobalFilters.cc b/lib/src/GlobalFilters.cc index 363b6bf5..4e1b46eb 100644 --- a/lib/src/GlobalFilters.cc +++ b/lib/src/GlobalFilters.cc @@ -40,7 +40,7 @@ void GlobalFilters::initAndStart(const Json::Value &config) { if (ex.isString()) { - regexStr.append("(").append(exempt.asString()).append(")|"); + regexStr.append("(").append(ex.asString()).append(")|"); } else {