Mercurial > hg > nginx
diff src/http/modules/ngx_http_dav_module.c @ 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 | 11599a3d0c7c |
children | 1f70fe0d9576 |
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;