Browse Source

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 17 years ago
parent
commit
e2a32465f3
  1. 4
      src/mod_webdav.c

4
src/mod_webdav.c

@ -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);
}

Loading…
Cancel
Save