Maxim Dounin
August 31, 2011 05:10AM
Hello!

On Wed, Aug 31, 2011 at 03:37:28AM -0400, speedfirst wrote:

> For a request with an IPv6 Host header like:
>
> Host: Host: [2001:250:1800:1::88]
>
> The function "ngx_http_validate_host" will consider the trailing ":88]"
> as a port number and trim it. Therefore the value of
> "r->headers_in.server" and "$host" will become:

This is a known problem, please see

http://trac.nginx.org/nginx/ticket/1

The same applies to the patch submitted.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

A bug when Host header contain IPv6 address

speedfirst August 31, 2011 03:37AM

Re: A bug when Host header contain IPv6 address

speedfirst August 31, 2011 03:49AM

Re: A bug when Host header contain IPv6 address

Maxim Dounin August 31, 2011 05:10AM

Re: A bug when Host header contain IPv6 address

speedfirst August 31, 2011 11:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 274
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready