The official NGINX Open Source repository.
Go to file
Valentin Bartenev 1373558163 Added support for IP-literal in the Host header and request line (ticket #1).
Additional parsing logic added to correctly handle RFC 3986 compliant IPv6 and
IPvFuture characters enclosed in square brackets.

The host validation was completely rewritten. The behavior for non IP literals
was changed in a more proper and safer way:

 - Host part is now delimited either by the first colon or by the end of string
   if there's no colon. Previously the last colon was used as delimiter which
   allowed substitution of a port number in the $host variable.
   (e.g. Host: 127.0.0.1:9000:80)

 - Fixed stripping of the ending dot in the Host header when the host was also
   followed by a port number.
   (e.g. Host: nginx.com.:80)

 - Fixed upper case characters detection. Previously it was broken which led to
   wasting memory and CPU.
2011-11-28 09:15:33 +00:00
auto Made it possible to build/install from the SVN checkout. 2011-11-22 13:26:44 +00:00
conf svgz extension for compressed SVG added (close #56). 2011-11-21 09:20:50 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.1.8-RELEASE 2011-11-14 15:37:54 +00:00
misc Ancient incomplete ngx_http_status_module removal. 2011-11-01 15:16:28 +00:00
src Added support for IP-literal in the Host header and request line (ticket #1). 2011-11-28 09:15:33 +00:00
.hgtags release-1.1.8 tag 2011-11-14 15:38:02 +00:00