codex - 💡(How to fix) Fix Custom URL scheme links are rewritten to app://-/index.html?hostId=local [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18314Fetched 2026-04-18 05:56:13
View on GitHub
Comments
2
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
commented ×2labeled ×2
RAW_BUFFERClick to expand / collapse

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

26.415.21839 (1763)

What subscription do you have?

Business

What platform is your computer?

macOS

What issue are you seeing?

Markdown links using a custom URL scheme are not preserved correctly in the Codex desktop app. When a response contains a link using the linear:// scheme, Codex appears to rewrite it through its own local wrapper instead of preserving the original deep link. That breaks the intended behavior and prevents the link from opening the target desktop app.

What steps can reproduce the bug?

  1. Render or output a Markdown link in Codex using a Linear deep link, for example: FRI-706: Introduce Wallet as the source of truth for payment methods
  2. Click the link in the Codex desktop app, or copy the link target from the rendered response.
  3. Observe that the link is not treated as the original linear://... URL and instead gets rewritten through the Codex app wrapper.

What is the expected behavior?

The rendered link should preserve the original deep link target exactly as written. In the example above, clicking the link should open the Linear desktop app directly to the issue:

linear://linear.app/digital-fireworks/issue/FRI-706/introduce-wallet-as-the-source-of-truth-for-payment-methods

It should not be rewritten through another scheme or local wrapper.

Additional information

When copied from the Codex UI, the link appears as:

app://-/index.html?hostId=local

That suggests Codex is intercepting and rewriting custom URL scheme links instead of preserving them. This makes custom app deep links unusable from Codex responses. I reproduced this with a linear:// link, but the issue may apply to other custom URL schemes as well.

extent analysis

TL;DR

The Codex desktop app needs to be configured or updated to preserve custom URL schemes, such as linear://, instead of rewriting them through its local wrapper.

Guidance

  • Verify that the issue is specific to the Codex desktop app by testing the same Markdown link in a different environment, such as a web browser or another Markdown renderer.
  • Check if there are any settings or preferences in the Codex app that control how custom URL schemes are handled, and adjust them if possible.
  • Consider reaching out to the Codex support team or developers to report the issue and request a fix, as it may be a bug or limitation in the current version (26.415.21839).
  • Test the link with other custom URL schemes to determine if the issue is specific to linear:// or a more general problem.

Example

No code snippet is provided as the issue is related to the behavior of the Codex app rather than a specific code implementation.

Notes

The issue may be specific to the Business subscription or macOS platform, but further testing would be needed to confirm this. The problem could also be related to how the Codex app handles custom URL schemes in general, rather than just linear://.

Recommendation

Apply workaround: Report the issue to the Codex support team and request a fix, as it appears to be a bug or limitation in the current version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING