We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e126c61 commit cd34b16Copy full SHA for cd34b16
src/vs/platform/telemetry/common/telemetryService.ts
@@ -205,7 +205,7 @@ export class TelemetryService implements ITelemetryService {
205
206
// Regex which matches @*.site
207
const emailRegex = /@[a-zA-Z0-9-.]+/;
208
- const secretRegex = /\S*(key|token|sig|password|passwd|pwd)[="':\s]+\S*/;
+ const secretRegex = /(key|token|sig|password|passwd|pwd)[="':\s]/;
209
210
// Check for common user data in the telemetry events
211
if (secretRegex.test(value)) {
0 commit comments