# HG changeset patch # User Igor Sysoev # Date 1197642780 0 # Node ID e8cef87413a04e413b1adfc287bf582f19541d12 # Parent 3748e50f9b234fbabc0469e5d389f9ef2889202d fix merge_slashes diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c --- 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;