Skip to content

Parse the terminal port in agent server addresses - #412

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/parse-ipv6-port
Open

sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/parse-ipv6-port

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Require the numeric port to be the final component of the server address. This preserves ordinary host-and-port parsing while correctly handling bracketed IPv6 endpoints. The change does not attempt full host or IP validation.

Validation

  • Four regression cases failed on main and passed after the fix.
  • All five focused port-parsing tests passed, including ordinary hostname handling.
  • git diff --check passes.
  • Full native server integration was not run.

Fixes #411.

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.

Agent port parsing misinterprets IPv6 address components

1 participant