[Desktop] Open in Finder fails for URL-encoded local paths (Chinese filenames)

Resolved 💬 1 comment Opened Mar 30, 2026 by xisheng687 Closed Mar 30, 2026

What version of the Codex App are you using (From “About Codex” dialog)?

0.107.0-alpha.5 (latest)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

Bug Description
In Codex Desktop, local file links that contain Chinese characters are rendered as URL-encoded paths (e.g. %E7...). When clicking the link and choosing "Open in Finder", Finder fails to open the file. Image previews also fail to load.

Steps to Reproduce

  1. Create a file with Chinese characters in the path (e.g. /Users/xxx/workspace/小工具/test.md)
  2. Ask Codex to output a local markdown link to that file
  3. The link shows as URL-encoded form
  4. Click the link and choose "Open in Finder" → Fails silently

Expected Behavior
Codex should decode the URL-encoded path before calling Finder, so that files with Chinese (or other non-ASCII) characters in the path can be opened normally.

Environment

  • OS: macOS

Additional Information

  • Verified: encoded path does not exist, decoded Chinese path exists
  • This is a path decoding issue, not missing file data
  • Related to existing issue #13123

What steps can reproduce the bug?

  1. Create a file with Chinese characters in the path (e.g. /Users/joy/Project/小工具/test.md)
  2. Ask Codex to output a local markdown link to that file
  3. The link shows as URL-encoded form (e.g. %E5%B0%8F%E5%B7%A5%E5%85%B7)
  4. Right-click the link and choose "Open in Finder" → Nothing happens
  5. Image previews also fail to load (showing placeholder icon)

Additional details:

  • The error log shows: open exited with code 1 (-R /Users/joy/Project/%E5%B0%8F%E5%B7%A5%E5%85%B7/...)
  • This confirms the path is not decoded before being passed to the open command
  • Related to existing issue #13123

What is the expected behavior?

Codex should decode the URL-encoded path before calling Finder, so that files with Chinese (or other non-ASCII) characters in the path can be opened normally.

Expected: Right-click → "Open in Finder" should open the correct file location.
Actual: Nothing happens because the encoded path doesn't exist.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗