diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-09-07 09:18:55 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-07 09:18:55 +0000 |
| commit | 601a3dc736a3b69ebf037d6d8a9384b63d8e6bf5 (patch) | |
| tree | dfad6138fcff8cc89370be5d7dfde44df7682c23 | |
| parent | ad7e918f5a30f21c50660a810ea7ada6c966019a (diff) | |
| download | nginx-601a3dc736a3b69ebf037d6d8a9384b63d8e6bf5.tar.gz nginx-601a3dc736a3b69ebf037d6d8a9384b63d8e6bf5.tar.bz2 | |
fix Win95 "/.../" handling for the record
| -rw-r--r-- | src/http/ngx_http_parse.c | 2 |
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) != '/') { |
