Skip to content

fix: support bracketed IPv6 runtime URLs - #2200

Open
xianjianlf2 wants to merge 1 commit into
github:mainfrom
xianjianlf2:fix/cli-url-ipv6
Open

fix: support bracketed IPv6 runtime URLs#2200
xianjianlf2 wants to merge 1 commit into
github:mainfrom
xianjianlf2:fix/cli-url-ipv6

Conversation

@xianjianlf2

Copy link
Copy Markdown

Fixes #1137

Summary

  • support bracketed IPv6 runtime URLs across Node.js, Python, Go, and .NET
  • reject URI forms with path, query, or fragment components for runtime host/port parsing
  • add URL parsing regression tests for each supported SDK touched by the fix

Validation

  • cd go && go test .
  • cd python && uv run pytest test_client.py -q
  • cd nodejs && npx vitest run test/client.test.ts -t "URL parsing"
  • Not run: cd dotnet && dotnet test test/GitHub.Copilot.SDK.Test.csproj --filter RuntimeConnectionUrlParsingTests (dotnet is not installed in this environment: zsh:1: command not found: dotnet)

@xianjianlf2
xianjianlf2 requested a review from a team as a code owner August 1, 2026 08:50
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.

cliUrl / cli_url parser rejects IPv6 addresses (including bracketed [::1]:port form)

1 participant