grid: end the open hyperlink when OSC 8 is rejected for a control byte #438
No reviewers
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis!438
Loading…
Reference in a new issue
No description provided.
Delete branch "grid/osc8-reject-clears-link"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An OSC 8 rejected for a control byte in its params, or for a URI that fails
sanitize_osc_str(a control byte or invalid UTF-8), returned early without clearingcurrent_link, so the text after it stayed linked to the previously opened URI. The contract (vt-compliance OSC 8 bullet, REQ-910) says every reject leaves the pen unlinked; only the disallowed-scheme arm did.dispatch_osc_8clears the pen before any check, so every reject arm agrees.Closes #385