File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
shared/AppInsightsCore/Tests/Unit/src/ai Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2598,15 +2598,15 @@ export class ApplicationInsightsCoreTests extends AITestClass {
25982598 } ) ;
25992599
26002600 this . testCase ( {
2601- name : "FieldRedaction: should redact credentials while preserving query strings when redactQueryParams is false" ,
2601+ name : "FieldRedaction: should redact credentials while preserving query strings when redactQueryParams is false" ,
26022602 test : ( ) => {
2603- let config = {
2604- redactQueryParams : false
2605- } as IConfiguration ;
2606- const url = "https://user:password@example.com/path?sig=secret&color=blue&token=abc123" ;
2603+ let config = {
2604+ redactQueryParams : false
2605+ } as IConfiguration ;
2606+ const url = "https://user:password@example.com/path?sig=secret&color=blue&token=abc123" ;
26072607 const redactedLocation = fieldRedaction ( url , config ) ;
2608- Assert . equal ( redactedLocation , "https://REDACTED:REDACTED@example.com/path?sig=secret&color=blue&token=abc123" ,
2609- "Credentials should be redacted while query string values remain unchanged when redactQueryParams is false" ) ;
2608+ Assert . equal ( redactedLocation , "https://REDACTED:REDACTED@example.com/path?sig=secret&color=blue&token=abc123" ,
2609+ "Credentials should be redacted while query string values remain unchanged when redactQueryParams is false" ) ;
26102610 }
26112611 } ) ;
26122612
You can’t perform that action at this time.
0 commit comments