Skip to content

[BUG] URLs in user messages are no longer clickable / highlighted #48251

Description

@AlexBuzaev75

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

After a recent update, URLs that I paste into my own messages are no longer highlighted as links and are no longer clickable in the Claude Code UI.

Previously, URLs were auto-detected and rendered as clickable hyperlinks. Now they appear as plain text — clicking does nothing, and I have to manually select and copy the URL to open it in a browser.

Auto-linking in assistant responses (markdown links) still appears to work — the regression seems specific to user-authored messages.

Example URLs that are no longer clickable when pasted in a user message:

  • https://github.com/anthropics/claude-code
  • https://service2.coolutils.com/GetContent.php?ID=123456&download=1

Impact: cannot quickly re-open links I just pasted (for re-checking, forwarding, etc.). Particularly painful when working with sample-file links, issue-tracker links, documentation, etc.

Workaround: none — wrapping the URL in [text](url) does not help because markdown in user messages isn't rendered either.

What Should Happen?

URLs pasted in user messages should be rendered as highlighted, clickable links (as they were before the recent update). Clicking such a link should open it in the default browser.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code (CLI / terminal UI).
  2. Send a chat message containing a URL, for example:
    https://github.com/anthropics/claude-code
  3. After the message is posted, try to click the URL in the chat history.

Observed: the URL is rendered as plain text with no highlighting, and clicking it does nothing.

Expected: the URL is rendered as a highlighted, clickable hyperlink that opens in the default browser on click (this was the behavior before the recent update).

Reproduces 100% of the time on my setup (Windows 10, Git Bash). Happens with any URL I paste — HTTPS, with or without query parameters.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.19 (Claude Code)

Platform

Other

Operating System

Windows

Terminal/Shell

Other

Additional Information

Platform note: I'm on a Claude.ai (Pro/Max) subscription, but the Platform dropdown has no option for that — "Anthropic API / AWS Bedrock / Google Vertex AI / Other" — so I selected "Other".

Shell note: I run Claude Code inside Git Bash (mintty) on Windows. The Terminal dropdown has no Git Bash entry, so I selected "Other".

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workingplatform:windowsIssue specifically occurs on WindowsstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions