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

Templates doesn't handle IPv6 IPs #480

Open
ojab opened this issue Oct 23, 2022 · 0 comments
Open

Templates doesn't handle IPv6 IPs #480

ojab opened this issue Oct 23, 2022 · 0 comments

Comments

@ojab
Copy link
Contributor

ojab commented Oct 23, 2022

(ruby) Addressable::Template.new('https://{host}').match('https://127.0.0.1')
#<Addressable::Template::MatchData:0x64adc RESULT:{"host"=>"127.0.0.1"}>
(ruby) Addressable::Template.new('https://{host}').match('https://::1')
nil
(ruby) Addressable::Template.new('https://{host}').match('https://[::1]')
nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants