Mercurial > hg > nginx
comparison src/http/modules/ngx_http_static_module.c @ 3598:8152369f7037 stable-0.7
merge r3528:
remove r->zero_in_uri
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 07 Jun 2010 12:27:06 +0000 |
parents | 8944c3e318ab |
children |
comparison
equal
deleted
inserted
replaced
3597:0d8b8c84bab7 | 3598:8152369f7037 |
---|---|
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 |