#94 ✓hold
Michael Schnupp

HTTP_HOST parse error

Reported by Michael Schnupp | January 24th, 2009 @ 10:12 PM | in Future

HTTP_HOST seems to get split into SERVER_NAME and SERVER_PORT on the first colon. This breaks literal IPv6 addresses.

For example "[::1]:4567" is split into "[" and ":1]:4567" which is obviously wrong.

The problem seems to be somewhere in thin_parser, but I did not manage to find the exact location.

A quick test with mongrel showed exactly the same problem. Is this the same code?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket