Skip to content

socks-proxy-agent: trim IPv6 proxy host brackets#438

Draft
aouxwoux wants to merge 1 commit into
TooTallNate:mainfrom
aouxwoux:codex/socks-ipv6-host-brackets
Draft

socks-proxy-agent: trim IPv6 proxy host brackets#438
aouxwoux wants to merge 1 commit into
TooTallNate:mainfrom
aouxwoux:codex/socks-ipv6-host-brackets

Conversation

@aouxwoux

@aouxwoux aouxwoux commented Jul 6, 2026

Copy link
Copy Markdown

Summary

  • normalize bracketed IPv6 literal hosts when parsing SOCKS proxy URLs
  • add a constructor regression test for socks://[::1]:1080

Fixes #437

Verification

  • pnpm --filter agent-base build
  • pnpm --filter socks-proxy-agent test
  • pnpm --filter socks-proxy-agent build
  • pnpm --filter socks-proxy-agent lint
  • git diff --cached --check

@changeset-bot

changeset-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ec6d282

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

socks-proxy-agent does not trim IPv6 literal brackets before connecting to proxy host

1 participant