diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-09-25 09:30:06 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-25 09:30:06 +0000 |
| commit | a552ab476e95cd034d2463b3de95239010a8e0b0 (patch) | |
| tree | 6bac5d4431e5bf59c800d9db195a76eb026869b1 /src/http/ngx_http_upstream.c | |
| parent | 7f6d71bbc848360f4f6b1ec276736b88fb15b3f0 (diff) | |
| download | nginx-a552ab476e95cd034d2463b3de95239010a8e0b0.tar.gz nginx-a552ab476e95cd034d2463b3de95239010a8e0b0.tar.bz2 | |
check unsafe Destination
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 380b3c2f0..c2b5acf9e 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1797,7 +1797,7 @@ ngx_http_upstream_process_headers(ngx_http_request_t *r, ngx_http_upstream_t *u) uri = &u->headers_in.x_accel_redirect->value; args.len = 0; args.data = NULL; - flags = 0; + flags = NGX_HTTP_LOG_UNSAFE; if (ngx_http_parse_unsafe_uri(r, uri, &args, &flags) != NGX_OK) { ngx_http_finalize_request(r, NGX_HTTP_NOT_FOUND); |
