Skip to content

Templates doesn't handle IPv6 IPs #480

Open
@ojab

Description

(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

Activity

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

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions