From 1ebfead9da0596e8e84231f7ea8ba25a650a4d1e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 16 Feb 2005 13:40:36 +0000 Subject: nginx-0.1.19-RELEASE import *) 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. --- src/http/modules/ngx_http_index_handler.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/http/modules/ngx_http_index_handler.c') diff --git a/src/http/modules/ngx_http_index_handler.c b/src/http/modules/ngx_http_index_handler.c index 892b825ae..1c7d0dfad 100644 --- a/src/http/modules/ngx_http_index_handler.c +++ b/src/http/modules/ngx_http_index_handler.c @@ -120,6 +120,11 @@ static ngx_int_t ngx_http_index_handler(ngx_http_request_t *r) return NGX_DECLINED; } + /* TODO: Win32 */ + if (r->zero_in_uri) { + return NGX_DECLINED; + } + log = r->connection->log; /* -- cgit v1.2.3