Thu, 07 Sep 2023 10:51:13 +0200
fix send_string_escaped
src/server/webdav/multistatus.c | file | annotate | diff | comparison | revisions |
--- a/src/server/webdav/multistatus.c Thu Sep 07 10:06:04 2023 +0200 +++ b/src/server/webdav/multistatus.c Thu Sep 07 10:51:13 2023 +0200 @@ -185,9 +185,9 @@ // begin next chunk begin = end + 1; } - ptrdiff_t len = end - begin; + ptrdiff_t len = str.ptr + str.length - begin; if(len > 0) { - writer_put(out, begin, len + 1); + writer_put(out, begin, len); begin = end + 1; } }