Mercurial > hg > nginx-vendor-0-7
comparison src/http/ngx_http_header_filter_module.c @ 456:ca8f7f6cab16 NGINX_0_7_40
nginx 0.7.40
*) Feature: the "location" directive supports captures in regular
expressions.
*) Feature: an "alias" directive with capture references may be used
inside a location given by a regular expression with captures.
*) Feature: the "server_name" directive supports captures in regular
expressions.
*) Workaround: the ngx_http_autoindex_module did not show the trailing
slash in directories on XFS filesystem; the issue had appeared in
0.7.15.
Thanks to Dmitry Kuzmenko.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 09 Mar 2009 00:00:00 +0300 |
parents | a8424ffa495c |
children | f2c6a7373274 |
comparison
equal
deleted
inserted
replaced
455:ead634c4b006 | 456:ca8f7f6cab16 |
---|---|
320 + r->headers_out.location->value.len + 2; | 320 + r->headers_out.location->value.len + 2; |
321 | 321 |
322 if (clcf->port_in_redirect) { | 322 if (clcf->port_in_redirect) { |
323 | 323 |
324 #if (NGX_HTTP_SSL) | 324 #if (NGX_HTTP_SSL) |
325 if (r->connection->ssl) | 325 if (r->connection->ssl) |
326 port = (port == 443) ? 0 : port; | 326 port = (port == 443) ? 0 : port; |
327 else | 327 else |
328 #endif | 328 #endif |
329 port = (port == 80) ? 0 : port; | 329 port = (port == 80) ? 0 : port; |
330 } | 330 } |
331 | 331 |
332 if (port) { | 332 if (port) { |
333 len += sizeof(":65535") - 1; | 333 len += sizeof(":65535") - 1; |
334 } | 334 } |
335 | 335 |