[BUG] Cmd+Click on URL in response opens incorrect URL (path garbled with branch name suffix)
Open 💬 0 comments Opened Jun 23, 2026 by otthi
Description
When Cmd+clicking a URL displayed in Claude Code's response (desktop app on macOS), the browser opens an incorrect URL — the PR number is appended with a garbled suffix that appears to be derived from a branch name.
Steps to Reproduce
- Ask Claude Code to create a pull request
- Claude Code outputs a URL like
https://example.com/org/repo/pull/60 - Cmd+click the URL in the response
Expected Behavior
Browser opens https://example.com/org/repo/pull/60
Actual Behavior
Browser opens https://example.com/org/repo/pull/60w/docs/fee-rounding-1qictdjed-7551
The PR number (60) gets a suffix appended (w/docs/fee-rounding-1qictdjed-7551). This appears to be a garbled version of the branch name (docs/fee-rounding-confirmed-7551) — notably confirmed is replaced with a random-looking string 1qictdjed.
Environment
- Claude Code 2.1.186, desktop app, macOS
Related
May be related to #54606 (URL wrapping issue in Warp terminal), but this occurs in the desktop app with a single-line URL.