Strip brackets from address in IPv6 URIs #166

merged 2 commits into from Jan 1, 2013


None yet

2 participants


IPv6 URIs contain brackets (i.e. http://[fd00::1]) which need to be removed before passing the address along to Net::HTTP. This fixes IPv6 support.


Looks like hostname is 1.9.3 only? What should we do for 1.8 support?


Shazbot. I had not considered 1.8.. looks like I will need to not use hostname.

@jnunemaker jnunemaker merged commit 4b7ff22 into jnunemaker:master Jan 1, 2013

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment