Skip to content

docs(url-replacements): document auth behaviour with url replacements#7592

Merged
jdx merged 4 commits into
jdx:mainfrom
risu729:docs-url-replacement
Jan 8, 2026
Merged

docs(url-replacements): document auth behaviour with url replacements#7592
jdx merged 4 commits into
jdx:mainfrom
risu729:docs-url-replacement

Conversation

@risu729
Copy link
Copy Markdown
Contributor

@risu729 risu729 commented Jan 7, 2026

Note

Enhances url_replacements documentation with clearer, safer guidance and auth details.

  • Replaces corporate-specific examples with neutral example.com domains and anchors regex patterns with ^ for safer matching
  • Adds a prominent warning that authentication headers are preserved and forwarded to the replaced URL; advises using start-anchored patterns
  • Introduces an Authentication section explaining .netrc usage with replacements, precedence over env-derived tokens, and example config
  • Minor example updates (e.g., updated mirrors/CDN examples) and clarification of processing order remain unchanged

Written by Cursor Bugbot for commit db20691. This will update automatically on new commits. Configure here.

Copilot AI review requested due to automatic review settings January 7, 2026 17:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the URL replacements documentation by adding important security and authentication guidance, while also standardizing examples to use example.com domains.

  • Adds comprehensive security warnings about credential leaking when using URL replacements
  • Documents authentication behavior with .netrc files
  • Updates all examples to use example.com domains instead of real company domains
  • Adds the ^ anchor to regex patterns for better security

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/url-replacements.md Outdated
autofix-ci Bot and others added 3 commits January 7, 2026 17:18
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jdx
Copy link
Copy Markdown
Owner

jdx commented Jan 8, 2026

bugbot run

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!

@jdx jdx merged commit 5f20f19 into jdx:main Jan 8, 2026
36 checks passed
@risu729 risu729 deleted the docs-url-replacement branch January 8, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants