comparison src/http/modules/ngx_http_static_module.c @ 572:ff463db0be31 NGINX_0_8_38

nginx 0.8.38 *) Feature: the "proxy_no_cache" and "fastcgi_no_cache" directives. *) Feature: now the "rewrite" directive does a redirect automatically if the $scheme variable is used. Thanks to Piotr Sikora. *) Bugfix: now "limit_req" delay directive conforms to the described algorithm. Thanks to Maxim Dounin. *) Bugfix: the $uid_got variable might not be used in the SSI and perl modules.
author Igor Sysoev <http://sysoev.ru>
date Mon, 24 May 2010 00:00:00 +0400
parents 566e105a89f1
children 6f21ae02fb01
comparison
equal deleted inserted replaced
571:5b59e716792b 572:ff463db0be31
64 64
65 if (r->uri.data[r->uri.len - 1] == '/') { 65 if (r->uri.data[r->uri.len - 1] == '/') {
66 return NGX_DECLINED; 66 return NGX_DECLINED;
67 } 67 }
68 68
69 if (r->zero_in_uri) {
70 return NGX_DECLINED;
71 }
72
73 log = r->connection->log; 69 log = r->connection->log;
74 70
75 /* 71 /*
76 * ngx_http_map_uri_to_path() allocates memory for terminating '\0' 72 * ngx_http_map_uri_to_path() allocates memory for terminating '\0'
77 * so we do not need to reserve memory for '/' for possible redirect 73 * so we do not need to reserve memory for '/' for possible redirect