]> git.kaiwu.me - nginx.git/commitdiff
fix merge_slashes
authorIgor Sysoev <igor@sysoev.ru>
Fri, 14 Dec 2007 14:33:00 +0000 (14:33 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 14 Dec 2007 14:33:00 +0000 (14:33 +0000)
src/http/ngx_http_parse.c

index 66bd36eeac767b6a6a44cc9e6facf4175e48755c..b83810d2edd2754b76967c3d38d1950b47ab7845 100644 (file)
@@ -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;