| commit | ac487bff1ea19ea472f4ca53f040f9ab8b2d78a8 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Thu Jan 03 20:43:12 2008 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Thu Jan 03 20:43:12 2008 +0000 |
| tree | 2bbc05f94f180161e1783faf7cd6b8af28efb1aa | |
| parent | 58d04fe3fa3b20c2c046bda2d70e4d2112885665 [diff] |
add comment
diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index 94867aa..f317f08 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c
@@ -422,6 +422,11 @@ } 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) {