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

Address parser is incapable of handling IPv6 address literals #385

Closed
michaelklishin opened this issue Aug 1, 2018 · 0 comments · Fixed by #386
Closed

Address parser is incapable of handling IPv6 address literals #385

michaelklishin opened this issue Aug 1, 2018 · 0 comments · Fixed by #386

Comments

@michaelklishin
Copy link
Member

michaelklishin commented Aug 1, 2018

Originally reported in ruby-amqp/march_hare#134. Address.parseAddress currently assumes a hostname:port pair and IPv4 addresses.

The same issue was addressed in Bunny a couple of years ago, we should do the same thing: require IPv6 addresses to be enclosed in square brackets.

@acogoluegnes acogoluegnes added this to the 4.8.0 milestone Aug 2, 2018
michaelklishin added a commit that referenced this issue Aug 2, 2018
michaelklishin added a commit that referenced this issue Aug 2, 2018
Closes #385.

[#159499428]

(cherry picked from commit d282928)
michaelklishin added a commit that referenced this issue Aug 2, 2018
Closes #385.

[#159499428]

(cherry picked from commit d282928)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants