Skip to content

Finder links not working properly due to spaces in filename #17548

Open

Description

@macguyincali

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

Version 26.409.20454 (1462)

What subscription do you have?

Pro

What platform is your computer?

MacOS 26.4 and 26.4 (and previous versions as well)

What issue are you seeing?

When Codex completes its output, it provides finder links to the files that were edited or output. Because the MacOS finder system allows spaces in its file names and in fact it is almost impossible to avoid using spaces because the filesystem itself is often based on [Username][space][Computer Model], e.g. "John Doe's MacBook Pro M5." Codex attempts to convert this into Unicode by substituting &20 for space. So the clickable link that is generated contains &20 in it and the finder is unable to locate that file when you click it. When you hover over it, you can see the unicode. Try pasting that unicode into the Finder "Go to Folder" dialogue and it does not function.

My workaround (very clunky and wastes tokens):

  1. I've asked Codex to render the links without &20, just spaces.
  2. While Codex is "thinking" clickable links (in blue) appear rendered correctly. Clicking on them jump to the actual finder location (the desired behavior).
  3. However, once it finishes "thinking" the links revert bak to some sort of internal markup that is not clickable: [project-panel.tsx](/Users/John Doe's Computer/Library/CloudStorage/Dropbox/random project/Codex/Subfolder/Project Name/src/object/interact/components/project-panel.tsx).
  4. The path is correct and if I copy and paste just that path into the Finder "Go to Folder" it goes directly to that folder.
  5. If I copy and paste the full markup into Codex chat, the system renders a functional link (but requires me making an unnecessary query just so that the file is clickable in the thread). So Codex is able to render the finder link, but only in the user's chat, not in the Codex response.

What steps can reproduce the bug?

Any action that generates an output and changed files generates a non-functioning link due to the presence of spaces in filenames. These are converted to &20 which the MacOS finder does not understand. And any attempts to fix it generate instead, unclickable links in markup language.

What is the expected behavior?

No screenshot due to PII. But the expect behavior is a working, functional and clickable finder link generated without using Unicode. Clicking on the link takes you to the location in the Finder. When you have a number of different codex projects in different folders, it is important to easily be able to know which files have been output / edited and where they are located.

Additional information

Nope that's about it. Clickable finder paths should not include unicode. The link should appear rendered as a working, functional link (blue) and clicking it should take you to the correct location in the finder.

Activity

  1. added
    app
    on Apr 12, 2026
  2. added
    bug
    on Apr 12, 2026
  3. pdworkman commented on Apr 13, 2026

    @pdworkman

    I can confirm this on macOS desktop as of April 12, 2026.

    Environment:

    • Codex app 26.409.20454 (1462)
    • macOS 26.1
    • local files on both Desktop and Dropbox volume paths

    What I tested:

    • Links to files without spaces in the path work.
    • Links to files with spaces in the path look clickable, but “Open in Finder” fails.
    • This happened for both:
      • angle-bracket markdown targets like </Users/.../file with spaces.md>
      • %20-encoded targets like /Users/.../file%20with%20spaces.md
    • A line suffix was not the cause by itself; links without spaces worked both with and without :12.

    Examples:

    • Works:
      /Users/pamelaworkman/Desktop/codex-link-test.txt
      /Users/pamelaworkman/Desktop/codex-link-test.txt:12
    • Fails:
      /Users/pamelaworkman/Desktop/codex link test spaced.txt
      /Volumes/Pam/Dropbox/My Documents/My Notes/Personal/Journal/Datebook/2026/2026-03-16 Mon.md

    Control:
    The equivalent terminal command works:
    open -R "/Volumes/Pam/Dropbox/My Documents/My Notes/Personal/Journal/Datebook/2026/2026-03-16 Mon.md"

    So this looks like a Codex Desktop path-handling bug for paths containing spaces, rather than a general macOS / Finder problem.

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