Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_autoindex_handler.c @ 38:2879cd3a40cb NGINX_0_1_19
nginx 0.1.19
*) Bugfix: now, if request contains the zero, then the 404 error is
returned for the local requests.
*) Bugfix: nginx could not be built on NetBSD 2.0.
*) Bugfix: the timeout may occur while reading of the the client
request body via SSL connections.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 16 Feb 2005 00:00:00 +0300 |
parents | 8b6db3bda591 |
children | 9f3205d496a0 |
comparison
equal
deleted
inserted
replaced
37:3376a7dea5d6 | 38:2879cd3a40cb |
---|---|
126 | 126 |
127 if (r->uri.data[r->uri.len - 1] != '/') { | 127 if (r->uri.data[r->uri.len - 1] != '/') { |
128 return NGX_DECLINED; | 128 return NGX_DECLINED; |
129 } | 129 } |
130 | 130 |
131 /* TODO: Win32 */ | |
132 if (r->zero_in_uri) { | |
133 return NGX_DECLINED; | |
134 } | |
135 | |
131 alcf = ngx_http_get_module_loc_conf(r, ngx_http_autoindex_module); | 136 alcf = ngx_http_get_module_loc_conf(r, ngx_http_autoindex_module); |
132 | 137 |
133 if (!alcf->enable) { | 138 if (!alcf->enable) { |
134 return NGX_DECLINED; | 139 return NGX_DECLINED; |
135 } | 140 } |