]> git.kaiwu.me - nginx.git/commitdiff
add comment
authorIgor Sysoev <igor@sysoev.ru>
Thu, 3 Jan 2008 20:43:12 +0000 (20:43 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 3 Jan 2008 20:43:12 +0000 (20:43 +0000)
src/http/modules/ngx_http_dav_module.c

index 94867aa5e280987fdce94071ee834f1d80fefb4f..f317f08b8780466f46cbb78546f98afff792c06f 100644 (file)
@@ -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) {