From c1c068b46a224c8a63904a06e9366ebb26d73f05 Mon Sep 17 00:00:00 2001 From: "Scott Beddall (from Dev Box)" Date: Mon, 6 May 2024 10:38:58 -0700 Subject: [PATCH] repair broken regex pattern --- .../Azure.Sdk.Tools.TestProxy/Common/SanitizerDictionary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/SanitizerDictionary.cs b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/SanitizerDictionary.cs index 503fa332a8d..ffcbcf1ee00 100644 --- a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/SanitizerDictionary.cs +++ b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/SanitizerDictionary.cs @@ -238,7 +238,7 @@ public SanitizerDictionary() { "AZSDK3002" ), new RegisteredSanitizer( - new BodyRegexSanitizer(regex: "token=(?[^&\\\"\\s\\n,\\\\)", groupForReplace: "token"), + new BodyRegexSanitizer(regex: "token=(?[^&\\\"\\s\\n,\\\\])", groupForReplace: "token"), "AZSDK3003" ), new RegisteredSanitizer(