mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
The `localize-translate` CLI tool uses the `locale` field from translation files to expand the `{{LOCALE}}` placeholder in the output directory. It failed to sanitize `locale` input, allowing malicious translations to write files outside of the configured output directory.
This change mitigates this issue by combining.
Closes #67906
(cherry picked from commit 7871093822)