changeset 3089:3391f0dad64e stable-0.7

fix Win95 "/.../" handling for the record
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Sep 2009 09:18:55 +0000
parents 588c4b56875e
children 1ecd37f610c0
files src/http/ngx_http_parse.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -1192,7 +1192,7 @@ ngx_http_parse_complex_uri(ngx_http_requ
                 while (*u != '/') {
                     u--;
                 }
-                if (u < r->uri.data) {
+                if (u == r->uri.data) {
                     return NGX_HTTP_PARSE_INVALID_REQUEST;
                 }
                 while (*(u - 1) != '/') {