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

Support IPv6 addresses as hostnames #8509

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aaronhuggins
Copy link

Implements a naive but fast pattern for matching an IPv6-style hostname, while preserving the original pattern for anything not matching IPv6.

This relates to a bug found by myself and @CanRau. For discussion of the bug, please see our twitter thread.

If you'd like me to add tests to specifically catch this issue and regressions in the future, please let me know and I'll add them.

Implements a naive but fast pattern for matching an IPv6-style hostname, while preserving the original pattern for anything not matching IPv6.
@AlbaHerrerias
Copy link
Contributor

Hello! Would you be able to add some tests? Thank you!

@aaronhuggins
Copy link
Author

@AlbaHerrerias I'll have time for this over the holiday before end of month. Does that fit with your overall plans?

@AlbaHerrerias
Copy link
Contributor

@aaronhuggins Sure! This PR won't make it to the release we're planning to do this week but it will for the next release, therefore I'm adding the post-8.0.0 label if this is ok to you. Thanks!

@janl
Copy link
Contributor

janl commented Apr 29, 2024

we should probably rather switch to standard URI parsing APIs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants