Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Git URL validation now masks credentials in error messages

Git URL validation now masks embedded credentials before showing an invalid-URL error, with clearer messages for wrong schemes

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGit Safetywhat it touches
KindBug Fixesin v2.1.268,
You'll notice

Git URL validation now masks embedded credentials before showing an invalid-URL error, with clearer messages for wrong schemes

What

The validator for SSH git URLs was reworked so that, when it rejects an invalid URL, it builds a masked copy of that URL before putting it in the error message: any embedded username/password (userinfo) is replaced with ***, and query or fragment content is replaced with ***. Errors about a mismatched protocol now also distinguish between a scheme that's simply spelled wrong and other kinds of malformed input, with more specific messages for each.

Why

This stops credentials that were accidentally embedded in a git URL from being echoed back in plain text inside an error message, while giving clearer feedback about why a URL was rejected.

See this entry in the whole of v2.1.268 →

Feedback