| commit | 9b4a99cf5d5c12557136dc205c87ffa0bdc60012 | [log] [tgz] |
|---|---|---|
| author | Ruslan Ermilov <ru@nginx.com> | Mon Dec 23 18:12:03 2013 +0400 |
| committer | Ruslan Ermilov <ru@nginx.com> | Mon Dec 23 18:12:03 2013 +0400 |
| tree | 21eee2f20b5a0ee6d48c6c813c630dd85c8f780f | |
| parent | f7ff5e65d0d20ba0425be7e3d8de4d04ceec9206 [diff] |
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 2a17992..e7f9e9a 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c
@@ -604,7 +604,7 @@ 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;