Skip to content

Separate diff --label flag from its argument value#414

Closed
neidiom wants to merge 1 commit intoitamae-kitchen:masterfrom
neidiom:fix/issue-43-diff-label
Closed

Separate diff --label flag from its argument value#414
neidiom wants to merge 1 commit intoitamae-kitchen:masterfrom
neidiom:fix/issue-43-diff-label

Conversation

@neidiom
Copy link
Contributor

@neidiom neidiom commented Mar 4, 2026

Embedding the path in --label= as a single array element could allow crafted paths to manipulate the diff output. Separating flag and value ensures proper shell escaping.

Embedding the path in --label=<path> as a single array element could
allow crafted paths to manipulate the diff output. Separating flag
and value ensures proper shell escaping.
@unasuke
Copy link
Member

unasuke commented Mar 4, 2026

#430 (comment)

@unasuke unasuke closed this Mar 4, 2026
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