mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00: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
|
||
|---|---|---|
| .. | ||
| extract | ||
| helpers | ||
| migrate | ||
| translate | ||
| BUILD.bazel | ||
| diagnostics_spec.ts | ||
| source_file_utils_spec.ts | ||