Skip to content

fix(node): sanitize special characters and escape sequences in config - #729

Open
bstoll wants to merge 3 commits into
openconfig:mainfrom
bstoll:fix-escape-sequences
Open

fix(node): sanitize special characters and escape sequences in config#729
bstoll wants to merge 3 commits into
openconfig:mainfrom
bstoll:fix-escape-sequences

Conversation

@bstoll

@bstoll bstoll commented Jul 29, 2026

Copy link
Copy Markdown
Contributor
  • Add character allowlist validation for Juniper certificate names in waitCertInfraReadyAndPushCert and GenerateSelfSigned.
  • Add character allowlist validation for Cisco XRd startup configuration paths in ResetCfg.
  • Improve escaping of special characters (, ", `, and $) in Nokia SR Linux configuration strings before sending via CLI.

bstoll added 2 commits July 29, 2026 21:42
- Add character allowlist validation for Juniper certificate names in waitCertInfraReadyAndPushCert and GenerateSelfSigned.
- Add character allowlist validation for Cisco XRd startup configuration paths in ResetCfg.
- Improve escaping of special characters (\, ", `, and $) in Nokia SR Linux configuration strings before sending via CLI.
@bstoll
bstoll marked this pull request as ready for review July 31, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant