does include the parent directory in the PROPFIND output

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@585 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.2
Jan Kneschke 2005-08-19 13:56:32 +00:00
parent e37805c9b4
commit e2a32465f3
1 changed files with 3 additions and 1 deletions

View File

@ -408,7 +408,9 @@ URIHANDLER_FUNC(mod_webdav_subrequest_handler) {
while(NULL != (de = readdir(dir))) {
if (de->d_name[0] == '.' && de->d_name[1] == '\0') {
/* ignore the currrent dir */
/* ignore the current dir */
} else if (de->d_name[0] == '.' && de->d_name[1] == '.' && de->d_name[2] == '\0') {
/* ignore the parent dir */
} else {
get_response_entry(srv, con, p, b, de->d_name);
}