From 9b4a99cf5d5c12557136dc205c87ffa0bdc60012 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 23 Dec 2013 18:12:03 +0400 Subject: Dav: emit a warning about unsafe URI. --- src/http/modules/ngx_http_dav_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit