Skip to content

Commit e9e3578

Browse files
authored
replace %20 in paths (microsoft#166892)
1 parent 359765b commit e9e3578

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,8 @@ export function cleanData(data: Record<string, any>, cleanUpPatterns: RegExp[]):
416416

417417
// We only know how to clean strings
418418
if (typeof value === 'string') {
419-
let updatedProperty = value;
419+
let updatedProperty = value.replaceAll('%20', ' ');
420+
420421
// First we anonymize any possible file paths
421422
updatedProperty = anonymizeFilePaths(updatedProperty, cleanUpPatterns);
422423

0 commit comments

Comments
 (0)