comparison 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
comparison
equal deleted inserted replaced
5491:74bfa803a5aa 5492:5c52ff68f380
602 602
603 destination_done: 603 destination_done:
604 604
605 duri.len = last - p; 605 duri.len = last - p;
606 duri.data = p; 606 duri.data = p;
607 flags = 0; 607 flags = NGX_HTTP_LOG_UNSAFE;
608 608
609 if (ngx_http_parse_unsafe_uri(r, &duri, &args, &flags) != NGX_OK) { 609 if (ngx_http_parse_unsafe_uri(r, &duri, &args, &flags) != NGX_OK) {
610 goto invalid_destination; 610 goto invalid_destination;
611 } 611 }
612 612