summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-26 17:45:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-10-26 17:45:55 +0000
commit8232053651ecd9d2029e080bf93eb66f27f1d2f3 (patch)
treeb4ab7e09ef76c8f7bb74b45414af6a44c6847496 /src/http/ngx_http_upstream.c
parent5aa449e8ffae59f0dfdc73485971a51258391eed (diff)
downloadnginx-8232053651ecd9d2029e080bf93eb66f27f1d2f3.tar.gz
nginx-8232053651ecd9d2029e080bf93eb66f27f1d2f3.tar.bz2
merge r3162, r3183:
WebDAV fixes: *) check unsafe Destination *) omit '\0' from "Location" header on MKCOL request
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index e5711fc91..ed86a382c 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1762,7 +1762,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);