[BUG] claude.ai input box auto-converts filenames to hyperlinks when spacebar is pressed

Resolved 💬 2 comments Opened Apr 30, 2026 by Stevetaiapa1967 Closed May 3, 2026

Preflight Checklist

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

What's Wrong?

In the claude.ai chat input box, any text ending in a country-code TLD extension (such as .sh, .md) is automatically converted to a clickable hyperlink when the spacebar is pressed after typing it. This also occurs in the Claude desktop app.When users copy Terminal output containing filenames and paste into the chat box, the filenames are corrupted into markdown link syntax before being sent. This breaks AI-assisted workflows where shell commands need to be relayed accurately between Terminal and Claude.

What Should Happen?

copy and paste should operate as usual

Error Messages/Logs

n/a

Steps to Reproduce

Open claude.ai in Chrome or the Claude desktop app
In the message input box type: watchdog.sh
Press spacebar
The text immediately turns blue and becomes a hyperlink

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

I can't pinpoint but this is relatively new

Claude Code Version

2.1.81

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗