Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants