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
This commit is contained in:
parent
780bc91ffe
commit
052f83e095
|
@ -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…
Reference in New Issue