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

fix: isHostname reports malformed IPv6 addresses as valid #946

Merged
merged 2 commits into from Nov 30, 2020
Merged

fix: isHostname reports malformed IPv6 addresses as valid #946

merged 2 commits into from Nov 30, 2020

Conversation

ghost
Copy link

@ghost ghost commented Nov 27, 2020

Previous version of the function was reporting addresses like ]::1[ or even ]:]:]1] as valid.

@ghost ghost requested a review from lidel as a code owner November 27, 2020 19:06
@jessicaschilling
Copy link
Contributor

@lidel - this is a follow-up from #945 - mind having a look? Thanks!

Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ghost
Copy link
Author

ghost commented Nov 29, 2020

Like this?

Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lidel lidel merged commit cec022d into ipfs:master Nov 30, 2020
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.

2 participants