Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_dav_module.c @ 1823:5ae4cace0727
add comment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 03 Jan 2008 20:43:12 +0000 |
parents | 935427c55e04 |
children | 8299cd253745 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -422,6 +422,11 @@ ok: } else { + /* + * we do not need to test (r->uri.data[r->uri.len - 1] == '/') + * because it ngx_file_info("/file/") returned NGX_ENOTDIR above + */ + depth = ngx_http_dav_depth(r, 0); if (depth != 0 && depth != NGX_HTTP_DAV_INFINITY_DEPTH) {