Skip to content

Commit 8368977

Browse files
committed
Fix comparison issue for false
1 parent 53aa2c8 commit 8368977

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/AppInsightsCore/src/utils/EnvUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ export function fieldRedaction(input: string, config: IConfiguration): string {
548548
if (!input || !isString(input) || strIndexOf(input, " ") !== -1) {
549549
return input;
550550
}
551-
const isRedactionDisabled = config && (config.redactUrls === false || config.redactUrls === UrlRedactionOptions.false);
551+
const isRedactionDisabled = config && (config.redactUrls === false || config.redactUrls === UrlRedactionOptions["false"]);
552552
if (isRedactionDisabled) {
553553
return input;
554554
}

0 commit comments

Comments
 (0)