Browse Source

take the right docroot if simple-vhost is used for MOVE/COPY operations (fixes #389)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@883 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 16 years ago
parent
commit
052f83e095
  1. 2
      src/mod_webdav.c

2
src/mod_webdav.c

@ -1531,7 +1531,7 @@ URIHANDLER_FUNC(mod_webdav_subrequest_handler) {
buffer_path_simplify(p->uri.path, p->tmp_buf);
/* we now have a URI which is clean. transform it into a physical path */
buffer_copy_string_buffer(p->physical.doc_root, con->conf.document_root);
buffer_copy_string_buffer(p->physical.doc_root, con->physical.doc_root);
buffer_copy_string_buffer(p->physical.rel_path, p->uri.path);
if (con->conf.force_lower_case) {

Loading…
Cancel
Save