[BUG] Any link generated by the CLI that contains a URL inside parentheses is unusable

Status Open
Reported on v2.1.234
Maintainer reply None cached
Activity 1 comment · opened Aug 18, 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?

When Claude Code CLI generates a link between parentheses (example below) the link URL itself contains a trailing ")" character and is always unusable. It's required to manually delete the trailing ")" in the browser to make the link URL usable.

Example: terraform-modules#945 (https://github.com/org-name/terraform-modules/pull/945)

What Should Happen?

The link URL should be usable when opened in the browser the first time (as-is).

Error Messages/Logs

HTTP 404 (Page not found)

Steps to Reproduce

  1. Ask Claude to create a PR in Github
  2. The PR is created, link is generated in CLI
  3. Ctl+click the link
  4. Browser page opens with a 404 error

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.234

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Xterm

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗