-
Notifications
You must be signed in to change notification settings - Fork 291
Normalize fields across various Boundary components #5599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this, I wonder if we should take this opportunity to change the error handling of util.SplitHostPort?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not actually approving so we don't merge this accidentally, but this LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, I'm wondering if we looked at our docs and tutorials to see if we use the [::1]
format incorrectly anywhere? If not it'd be good to have a look to see that our examples are up to date with this new normalization. Thanks!
I Ctrl+F'd the codebases for |
* chore: Update parseutil to v0.2.0 * update net util functions to use the new NormalizeAddr function as well as the new required formatting * fix(handlers): Normalize OIDC Account issuer * fix(handlers): Normalize OIDC Auth Method issuer and api prefix * fix(handlers): Normalize Vault Credential Store Vault Address * fix: Normalize Static Host address * fix(cmd): Normalize listener addresses, worker upstreams and public addr, and controller cluster addr --------- Co-authored-by: Danielle Miu <[email protected]>
…ap (#5586) * use the new parseutil.NormalizeAddr func to normalize addresses * fix target service error handling on normalization failure * update target tests to remove brackets from ipv6 addresses * update tcp tests as well
This PR contains code to normalize IPv6 addresses/hosts/URLs/etc.