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 74e6aab8a0c..cab952dcb8d 100644 --- a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/SanitizerDictionary.cs +++ b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/SanitizerDictionary.cs @@ -236,7 +236,7 @@ public SanitizerDictionary() { "AZSDK3002" ), new RegisteredSanitizer( - new BodyRegexSanitizer(regex: "token=(?[^&\\\"]+)($|&)", groupForReplace: "token"), + new BodyRegexSanitizer(regex: "token=(?[^&\\\"]+)", groupForReplace: "token"), "AZSDK3003" ), new RegisteredSanitizer(