escape internal request URI in proxy_pass
This commit is contained in:
parent
373a10cff1
commit
d911dbb292
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ ngx_http_proxy_create_request(ngx_http_request_t *r)
|
|||
|
||||
} else {
|
||||
unparsed_uri = 0;
|
||||
if (r->quoted_uri) {
|
||||
if (r->quoted_uri || r->internal) {
|
||||
escape = 2 * ngx_escape_uri(NULL, r->uri.data + loc_len,
|
||||
r->uri.len - loc_len, NGX_ESCAPE_URI);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue