diff src/http/ngx_http_parse.c @ 1849:8ca85249de24 stable-0.5

r1739 merge: fix merge_slashes
author Igor Sysoev <igor@sysoev.ru>
date Tue, 08 Jan 2008 17:23:25 +0000
parents 15042ebc34fb
children 2546677dae0b 088a340003f4
line wrap: on
line diff
--- 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_requ
                 break;
 #endif
             case '/':
-                if (merge_slashes) {
+                if (!merge_slashes) {
                     *u++ = ch;
                 }
                 break;