aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-14 14:33:00 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-14 14:33:00 +0000
commitb862cf4076da525716a72c3d5e7d0ec523eff57b (patch)
tree35b59e83daa2edb8e4f7173fef342ef21103fda6 /src
parentacb2f5d8c826ec1c4f7a12f7e88fffc0b9709f0b (diff)
downloadnginx-b862cf4076da525716a72c3d5e7d0ec523eff57b.tar.gz
nginx-b862cf4076da525716a72c3d5e7d0ec523eff57b.zip
fix merge_slashes
Diffstat (limited to 'src')
-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 66bd36eea..b83810d2e 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -1039,7 +1039,7 @@ ngx_http_parse_complex_uri(ngx_http_request_t *r, ngx_uint_t merge_slashes)
break;
#endif
case '/':
- if (merge_slashes) {
+ if (!merge_slashes) {
*u++ = ch;
}
break;