mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why The TUI treated URLs in file citations as local paths. This could prepend the working directory and escape parts of the URL needed to reach the cited resource. ## What changed Render HTTP and HTTPS `codex-file-citation` paths as web links, preserving percent escapes, query strings, and fragments in the displayed URL and hyperlink destination. ## Testing Regression tests compare file citations with equivalent Markdown links with and without a working directory. A snapshot covers the rendered text and hyperlink metadata for a spreadsheet URL. GitOrigin-RevId: 2f3213192fced0e92ae87062d086a9015113b862