summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-05-08 07:28:21 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2019-05-08 07:31:25 -0400
commitdd3d20c3d056fca1ce7b3019b9f99bf51c09a1e4 (patch)
tree58748e468aa12dc75e8062d9373505ac51398c96
parente9abd76acc6f924b9a8d808e1e4123572b29fec0 (diff)
downloadlighttpd1.4-dd3d20c3d056fca1ce7b3019b9f99bf51c09a1e4.tar.gz
lighttpd1.4-dd3d20c3d056fca1ce7b3019b9f99bf51c09a1e4.zip
[mod_webdav] doc Microsoft-WebDAV-MiniRedir bugs
-rw-r--r--src/mod_webdav.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mod_webdav.c b/src/mod_webdav.c
index 592df188..adbb6956 100644
--- a/src/mod_webdav.c
+++ b/src/mod_webdav.c
@@ -3747,6 +3747,7 @@ mod_webdav_propfind (connection * const con, const plugin_config * const pconf)
if (vb && 0 == strncmp(vb->ptr, "Microsoft-WebDAV-MiniRedir/",
sizeof("Microsoft-WebDAV-MiniRedir/")-1)) {
/* workaround Microsoft-WebDAV-MiniRedir bug */
+ /* (MS File Explorer unable to open folder if not redirected) */
http_response_redirect_to_directory(pconf->srv, con, 308);
return HANDLER_FINISHED;
}
@@ -5047,6 +5048,8 @@ mod_webdav_proppatch (connection * const con, const plugin_config * const pconf)
if (vb && 0 == strncmp(vb->ptr, "Microsoft-WebDAV-MiniRedir/",
sizeof("Microsoft-WebDAV-MiniRedir/")-1)) {
/* workaround Microsoft-WebDAV-MiniRedir bug; 204 not handled */
+ /* 200 without response body or 204 both incorrectly interpreted
+ * as 507 Insufficient Storage by Microsoft-WebDAV-MiniRedir. */
ms = buffer_init(); /* 207 Multi-status */
webdav_xml_response_status(ms, con->physical.path, 200);
}