changeset 5492:5c52ff68f380

Dav: emit a warning about unsafe URI.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 23 Dec 2013 18:12:03 +0400
parents 74bfa803a5aa
children 916cb6d28f6a
files src/http/modules/ngx_http_dav_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;