Skip to content
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

trim [ and ] from host string before used to connect by TcpStream #1818

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

smonv
Copy link
Contributor

@smonv smonv commented Apr 19, 2022

I follow suggestion of @abonander and trim [ and ] from host string before connect

Close #1739

@smonv smonv force-pushed the fix/invalid-ipv6-host branch from 4c9fa90 to 204a65d Compare April 22, 2022 02:10
@danielhuang
Copy link

This would work, but what if the input contains multiple [ or ]?

Seems unlikely though.

@smonv smonv force-pushed the fix/invalid-ipv6-host branch from 204a65d to df5f827 Compare May 3, 2022 02:10
@smonv smonv force-pushed the fix/invalid-ipv6-host branch from df5f827 to 970a427 Compare May 3, 2022 02:20
@abonander abonander merged commit 4e3ff36 into launchbadge:master Jun 1, 2022
@smonv smonv deleted the fix/invalid-ipv6-host branch June 1, 2022 01:25
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.

invalid ipv6 host
3 participants