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

IPv4 range 240/8-255/8 missing from patterns.go URLIP regexp #345

Closed
dougparrish opened this issue Aug 22, 2019 · 0 comments
Closed

IPv4 range 240/8-255/8 missing from patterns.go URLIP regexp #345

dougparrish opened this issue Aug 22, 2019 · 0 comments

Comments

@dougparrish
Copy link
Contributor

govalidator.IsURL("http://251.18.58.189:7979/my/path") returns false, even though the IP address is valid though "Reserved for future use" according to IANA[0]. Users are starting to use this [formerly Class E] range as a range for a fan network[1].

[0] https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.xhtml

[1] Excerpt from https://wiki.ubuntu.com/FanNetworking:
"The Future Use range (240.0.0.0/8 through 255.0.0.0/8) is a particularly good set of IP addresses you might use, because most routers won't route it..."

dougparrish added a commit to dougparrish/govalidator that referenced this issue Aug 22, 2019
…P regexp in patterns.go

Signed-off-by: Doug Parrish <dparrish@ceeness.com>
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

No branches or pull requests

1 participant