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

Ensure IPv6 hostname is enclosed within square brackets in Host header #5314

Closed
wants to merge 1 commit into from

Commits on Mar 25, 2016

  1. http: Corrects IPv6 address in Host header

    IPv6 addresses in Host header (URI), must be enclosed within
    square brackets, in order to properly separate the host address
    from any port reference.
    
    test: add test for IPv6 hostname conformance in Host header
    http: Ensure IPv6 is enclosed within square brackets in Host header
    http: use net.isIPv6 in ClientRequest
    test: update test with const instead of var
    test: use common.mustCall and cleanup
    http: ClientRequest, drop isIPv6() in favor of indexOf() checks
    http: ClientRequest, replace concatenation with string literal
    test: use const
    test: clean-up
    test: move test to parallel
    test: skip if no IPv6 support
    mpotra committed Mar 25, 2016
    Configuration menu
    Copy the full SHA
    5132c30 View commit details
    Browse the repository at this point in the history