Index: lighttpd/src/mod_webdav.c
===================================================================
--- lighttpd/src/mod_webdav.c (Revision 2512)
+++ lighttpd/src/mod_webdav.c (Arbeitskopie)
@@ -911,8 +911,10 @@
if (0 == strcmp(prop_name, "resourcetype")) {
if (S_ISDIR(sce->st.st_mode)) {
buffer_append_string_len(b, CONST_STR_LEN(""));
- found = 1;
+ } else {
+ buffer_append_string_len(b, CONST_STR_LEN(""));
}
+ found = 1;
} else if (0 == strcmp(prop_name, "getcontenttype")) {
if (S_ISDIR(sce->st.st_mode)) {
buffer_append_string_len(b, CONST_STR_LEN("httpd/unix-directory"));