mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ba13a3ce22
VS Code parses notification text for links and permits `command:` URIs. Interpolating the workspace-controlled TSDK path can therefore let a malicious path add a command link to the approval prompt. Remove the path from the notification instead of attempting to sanitize or escape it. This keeps the prompt static and matches VS Code's TypeScript extension workspace-version approval flow. Fixes #70176