Skip to content

(tui): Decode percent-escaped bare local file links - #16810

Merged
etraut-openai merged 2 commits into
mainfrom
etraut/file_path_escapes
Apr 6, 2026
Merged

etraut-openai merged 2 commits into
mainfrom
etraut/file_path_escapes

Conversation

@etraut-openai

@etraut-openai etraut-openai commented Apr 4, 2026 •

Copy link
Copy Markdown
Contributor

Addresses #16622

Problem: bare local file links in TUI markdown render percent-encoded path bytes literally, unlike file:// links.

Solution: decode bare path targets before local-path expansion and add regression coverage for spaces and Unicode.

Addresses #16622

Problem: bare local file links in TUI markdown render percent-encoded path bytes literally, unlike file:// links.

Solution: decode bare path targets before local-path expansion and add regression coverage for spaces and Unicode.
@etraut-openai etraut-openai changed the title Decode percent-escaped bare local file links (tui): Decode percent-escaped bare local file links Apr 6, 2026

@fcoury-oai fcoury-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested before:

Image

And after:

Image

Code looks good as well. Approved!

@etraut-openai
etraut-openai merged commit 54dbbb8 into main Apr 6, 2026
22 checks passed
@etraut-openai
etraut-openai deleted the etraut/file_path_escapes branch April 6, 2026 15:52
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants