diff -r 09676b559091 -r 60870dbac94f src/server/webdav/webdav.c --- a/src/server/webdav/webdav.c Tue Apr 26 18:21:25 2022 +0200 +++ b/src/server/webdav/webdav.c Sat Apr 30 20:44:38 2022 +0200 @@ -1126,7 +1126,7 @@ WSNamespace *ns = cur->property->namespace; if(ns && !strcmp((const char*)ns->href, "DAV:")) { const char *name = cur->property->name; - WSBool remove_prop = TRUE; + WSBool remove_prop = removefromlist; if(!strcmp(name, "getlastmodified")) { ret.getlastmodified = 1; } else if(!strcmp(name, "getcontentlength")) {