Skip to content

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

Closed as duplicate

Description

@xisheng687

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

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:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions