summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-09-07 09:18:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-09-07 09:18:55 +0000
commit601a3dc736a3b69ebf037d6d8a9384b63d8e6bf5 (patch)
treedfad6138fcff8cc89370be5d7dfde44df7682c23
parentad7e918f5a30f21c50660a810ea7ada6c966019a (diff)
downloadnginx-601a3dc736a3b69ebf037d6d8a9384b63d8e6bf5.tar.gz
nginx-601a3dc736a3b69ebf037d6d8a9384b63d8e6bf5.tar.bz2
fix Win95 "/.../" handling for the record
-rw-r--r--src/http/ngx_http_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index 4aa1be8ed..df6d56c07 100644
--- 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_request_t *r, ngx_uint_t merge_slashes)
while (*u != '/') {
u--;
}
- if (u < r->uri.data) {
+ if (u == r->uri.data) {
return NGX_HTTP_PARSE_INVALID_REQUEST;
}
while (*(u - 1) != '/') {