mirror of
https://github.com/nginx/nginx.git
synced 2024-12-12 10:19:00 +08:00
fix merge_slashes
This commit is contained in:
parent
acb2f5d8c8
commit
b862cf4076
@ -1039,7 +1039,7 @@ ngx_http_parse_complex_uri(ngx_http_request_t *r, ngx_uint_t merge_slashes)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case '/':
|
case '/':
|
||||||
if (merge_slashes) {
|
if (!merge_slashes) {
|
||||||
*u++ = ch;
|
*u++ = ch;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user