From: Ruslan Ermilov Date: Mon, 23 Dec 2013 14:12:03 +0000 (+0400) Subject: Dav: emit a warning about unsafe URI. X-Git-Tag: release-1.5.9~42 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=9b4a99cf5d5c12557136dc205c87ffa0bdc60012;p=nginx.git Dav: emit a warning about unsafe URI. --- diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index 2a179922c..e7f9e9ae3 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -604,7 +604,7 @@ destination_done: duri.len = last - p; duri.data = p; - flags = 0; + flags = NGX_HTTP_LOG_UNSAFE; if (ngx_http_parse_unsafe_uri(r, &duri, &args, &flags) != NGX_OK) { goto invalid_destination;