Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.223 ·

Git remote URL parsing normalizes leading slashes and percent-encoding

Git remote URLs differing only by a slash or escaping now resolve to the same repository.

You'll notice Bug Fixes
JSON All of v2.1.223
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Git IntegrationArea: what it touches
Bug FixesKind: in v2.1.223,
Bug FixesSection of the release
What

Remote URLs that differ only by a leading slash or percent-encoding now resolve to the same repository identity, and malformed paths are rejected rather than half-parsed.

Details
  • The scp-style parser strips leading slashes from the path.
  • The owner/repo result must split into exactly two non-empty segments, otherwise parsing returns null.
  • The URL-form sanitizer attempts decodeURIComponent(r.pathname) inside a try/catch, so a failure to decode leaves the path untouched.
Evidence

r.pathname = decodeURIComponent(r.pathname);

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.223 →

Feedback