pathname = ap_os_case_canonical_filename(r->pool, pathname);
/* Create a sub-request with the new filename */
- new_req = ap_sub_req_lookup_file(pathname, r);
+ new_req = ap_sub_req_lookup_file(pathname, r, NULL);
if (new_req == NULL) {
(*resource->hooks->free_file)(fhandle);
return HTTP_INTERNAL_SERVER_ERROR;
static int dav_method_copymove(request_rec *r, int is_move)
{
dav_resource *resource;
- dav_auto_version_info src_av_info;
+ dav_auto_version_info src_av_info = { 0 };
dav_resource *resnew;
dav_auto_version_info dst_av_info;
const char *body;
* same HTTP method on the destination. This allows the destination
* to apply appropriate restrictions (e.g. readonly).
*/
- result.rnew = ap_sub_req_method_uri(r->method, new_file, r);
+ result.rnew = ap_sub_req_method_uri(r->method, new_file, r, NULL);
return result;
}