diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-09-23 23:19:14 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-23 23:19:14 +0400 |
commit | 53acfdb9b8874d1147075322ecab7744695c8409 (patch) | |
tree | f1ae9a2a442d979362736ca0581fc6418805d05b | |
parent | 10c364d9874edab26ddb8ff689702ba124af6e2a (diff) |
r1467 merge:
escape internal request URI in proxy_pass
-rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 52f67b305..61b934f32 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -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); } |