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

Hostname canonicalization has surprising interactions #259

Open
jeremyroman opened this issue Feb 21, 2025 · 0 comments
Open

Hostname canonicalization has surprising interactions #259

jeremyroman opened this issue Feb 21, 2025 · 0 comments

Comments

@jeremyroman
Copy link
Collaborator

What is the issue with the URL Pattern Standard?

This has been noticed at least twice now and probably merits its own issue:
#239 (comment)
#258

Most notable, hostname parts that look like IP addresses can end up being canonicalized into full IP addresses in ways that are surprising and nonsensical, like 192.168.* expanding to 192.0.0.168.* (because technically 192.168 is a valid IP address notation).

As noted in the comment, the same is true of port, but it's harder to discover how to work around it for hostnames.

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

No branches or pull requests

1 participant