mirror of
https://github.com/nginx/nginx.git
synced 2026-08-28 04:39:05 +00:00
fix segfault
This commit is contained in:
parent
826c02ebda
commit
7b35de92a9
1 changed files with 2 additions and 1 deletions
|
|
@ -675,7 +675,8 @@ ngx_http_proxy_create_request(ngx_http_request_t *r)
|
|||
r->uri.len - loc_len, NGX_ESCAPE_URI);
|
||||
}
|
||||
|
||||
len += r->uri.len - loc_len + escape + sizeof("?") - 1 + r->args.len;
|
||||
len += ctx->vars.uri.len + r->uri.len - loc_len + escape
|
||||
+ sizeof("?") - 1 + r->args.len;
|
||||
}
|
||||
|
||||
ngx_http_script_flush_no_cacheable_variables(r, plcf->flushes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue