Skip to content

Pass EDITOR arguments as an array to system - #407

Merged
adamruzicka merged 1 commit into
theforeman:masterfrom
Odilhao:master-release-01-oct
Oct 1, 2026
Merged

adamruzicka merged 1 commit into
theforeman:masterfrom
Odilhao:master-release-01-oct

Conversation

@Odilhao

@Odilhao Odilhao commented Oct 1, 2026

Copy link
Copy Markdown
Member

Run the configured EDITOR as an argument array instead of a shell command, so shell metacharacters are not interpreted. Add tests for editor arguments and shell injection cases.

@adamruzicka
adamruzicka merged commit a968f58 into theforeman:master Oct 1, 2026
8 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.

4 participants