summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_dav_module.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2013-12-23 18:12:03 +0400
committerRuslan Ermilov <ru@nginx.com>2013-12-23 18:12:03 +0400
commit9b4a99cf5d5c12557136dc205c87ffa0bdc60012 (patch)
tree21eee2f20b5a0ee6d48c6c813c630dd85c8f780f /src/http/modules/ngx_http_dav_module.c
parentf7ff5e65d0d20ba0425be7e3d8de4d04ceec9206 (diff)
downloadnginx-9b4a99cf5d5c12557136dc205c87ffa0bdc60012.tar.gz
nginx-9b4a99cf5d5c12557136dc205c87ffa0bdc60012.tar.bz2
Dav: emit a warning about unsafe URI.
Diffstat (limited to 'src/http/modules/ngx_http_dav_module.c')
-rw-r--r--src/http/modules/ngx_http_dav_module.c2
1 files changed, 1 insertions, 1 deletions
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;