Skip to content

chore: add -- separators for Git invocations that support it#1171

Merged
fricklerhandwerk merged 1 commit into
NixOS:mainfrom
fricklerhandwerk:fix-shell-command
Jul 8, 2026
Merged

chore: add -- separators for Git invocations that support it#1171
fricklerhandwerk merged 1 commit into
NixOS:mainfrom
fricklerhandwerk:fix-shell-command

Conversation

@fricklerhandwerk

Copy link
Copy Markdown
Collaborator

This prevents command injection in the sad cases where we trust our inputs too much.

Re: #1163 (comment) @LeSuisse These are only two occurrences where adding the sparator is possible. #1146 goes extra paranoid and has all the inputs sanitized.

This prevents command injection in the sad cases where we trust our inputs too much.
@fricklerhandwerk fricklerhandwerk added this pull request to the merge queue Jul 8, 2026
Merged via the queue into NixOS:main with commit 311f854 Jul 8, 2026
3 checks passed
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.

2 participants