A crafted git remote URL can no longer trick Claude Code into using the wrong repo identity.
What's wrong with this entry?
Both remote-URL matchers were narrowed so a crafted remote cannot make Claude Code derive the wrong owner/repo identity. The host capture now excludes / and @, and the userinfo capture excludes @, /, ? and #. Applies to everyone.
- Covers the scp-style form (
git@host:owner/repo.git) and the URL-style form alike.
[^@/?#]*@, /^git@([^:/@]+):(.+?)(?:\.git)?$/
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.236
Change detection ignores custom diff drivers and submodules
Both mention integration
-
v2.1.239
IDE diagnostics calls time out instead of hanging
Both mention integration
-
v2.1.246
IDE diff viewer skips remote calls and more notebook files
Both mention integration