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

Add support for URI that contains an IPv6 address #156

Closed
wants to merge 1 commit into from

Conversation

0x1eef
Copy link
Contributor

@0x1eef 0x1eef commented Sep 19, 2023

Fix #73:
Net::HTTP.get_response(URI.parse("http://[::1]"))

When the 'Host' header does not wrap an IPv6 address
in brackets, some servers (eg Apache) reject the request
with a 400 status code.

@0x1eef 0x1eef force-pushed the uri_ipv6 branch 2 times, most recently from d9591d1 to 3096ae5 Compare September 19, 2023 11:15
@0x1eef 0x1eef changed the title Add support IPv6 + URI Add support for URI that contains an IPv6 address Sep 19, 2023
Fix ruby#73:
Net::HTTP.get_response(URI.parse("http://[::1]"))

When the 'Host' header does not wrap an IPv6 address
in brackets, some servers (eg Apache) reject the request
with a 400 status code.
@0x1eef
Copy link
Contributor Author

0x1eef commented Apr 2, 2024

It doesn't look like this pull request will be merged. Closing.

@0x1eef 0x1eef closed this Apr 2, 2024
@0x1eef 0x1eef deleted the uri_ipv6 branch April 2, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Host header for IPv6 addresses
1 participant