r1467 merge:

escape internal request URI in proxy_pass
This commit is contained in:
Igor Sysoev 2007-09-23 19:19:14 +00:00
parent bed8eaacf4
commit ff31837caf
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}