Skip to content

Commit 5ad2e51

Browse files
committed
Add signature to telemetry regex
1 parent cd34b16 commit 5ad2e51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/telemetry/common/telemetryService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export class TelemetryService implements ITelemetryService {
205205

206206
// Regex which matches @*.site
207207
const emailRegex = /@[a-zA-Z0-9-.]+/;
208-
const secretRegex = /(key|token|sig|password|passwd|pwd)[="':\s]/;
208+
const secretRegex = /(key|token|sig|signature|password|passwd|pwd)[="':\s]/;
209209

210210
// Check for common user data in the telemetry events
211211
if (secretRegex.test(value)) {

0 commit comments

Comments
 (0)