Skip to content

Escape unsafe command failure diagnostics#98

Merged
GrahamCampbell merged 1 commit into
2.0from
escape-unsafe-diagnostics-2.0
Jul 17, 2026
Merged

Escape unsafe command failure diagnostics#98
GrahamCampbell merged 1 commit into
2.0from
escape-unsafe-diagnostics-2.0

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Member

Command 2 builds a new exception message from the command name and a previous exception message, so either value can carry controls or malformed UTF-8 into a library-generated diagnostic. This uses the PSR-7 diagnostic helper for those two values while retaining the original command and previous exception unchanged.

@GrahamCampbell
GrahamCampbell merged commit 67f5db8 into 2.0 Jul 17, 2026
22 checks passed
@GrahamCampbell
GrahamCampbell deleted the escape-unsafe-diagnostics-2.0 branch July 17, 2026 14:00
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