diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-02-16 13:40:36 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-02-16 13:40:36 +0000 |
commit | 1ebfead9da0596e8e84231f7ea8ba25a650a4d1e (patch) | |
tree | 15e18d104477e04ffb5fcb31b3fb43f20dcfe996 /src/http/modules/ngx_http_autoindex_handler.c | |
parent | 675cc5a855cec4acaae2937cb832c424e4d3bacf (diff) | |
download | nginx-release-0.1.19.tar.gz nginx-release-0.1.19.zip |
nginx-0.1.19-RELEASE importrelease-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.
Diffstat (limited to 'src/http/modules/ngx_http_autoindex_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_autoindex_handler.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_autoindex_handler.c b/src/http/modules/ngx_http_autoindex_handler.c index ac2438e7f..2e555a058 100644 --- a/src/http/modules/ngx_http_autoindex_handler.c +++ b/src/http/modules/ngx_http_autoindex_handler.c @@ -128,6 +128,11 @@ static ngx_int_t ngx_http_autoindex_handler(ngx_http_request_t *r) return NGX_DECLINED; } + /* TODO: Win32 */ + if (r->zero_in_uri) { + return NGX_DECLINED; + } + alcf = ngx_http_get_module_loc_conf(r, ngx_http_autoindex_module); if (!alcf->enable) { |