Repository navigation
Conversation
Keep scheme-only examples and ellipsis placeholders intact in error text, while still redacting credentials from real addresses. Cover prose hints, secret-bearing URLs, and the layer.addUrl error path. Co-Authored-By: Claude Code <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Closing as a duplicate: #1661 already fixed this (bare schemes and |
Summary
redact_texttreated a bare scheme in error text (http://,https://,s3://) or an ellipsis placeholder ("https://…") as an address and redacted it, mangling hints like "give an http://, https:// or s3:// address". A word whose address part after://is empty or…is now left untouched; real addresses are still redacted (credentials and secret query parameters removed).Testing
sources::tests::error_text_keeps_bare_schemes_but_redacts_addresses: prose hints and placeholders survive unchanged;user:pw@and?token=are still stripped from real URLs next to bare schemes.tests::add_url_error_keeps_bare_schemes: thelayer.addUrlerror for a local path reads correctly.cargo test -p rustgis-engine --lib -- bare_schemepasses.UI evidence
No visible UI change.
Related issue
🤖 Generated with Claude Code
Summary by CodeRabbit