diff src/http/ngx_http_parse.c @ 1738:e8cef87413a0

fix merge_slashes
author Igor Sysoev <igor@sysoev.ru>
date Fri, 14 Dec 2007 14:33:00 +0000
parents 364587232429
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;