conf = ap_get_module_config(cmd->server->module_config,
&dav_fs_module);
- arg1 = ap_os_canonical_filename(cmd->pool, arg1);
conf->lockdb_path = ap_server_root_relative(cmd->pool, arg1);
return NULL;
return HTTP_NOT_FOUND;
}
- /* Convert to canonical filename, so Apache detects component
- * separators (on Windows, it only looks for '/', not '\')
- */
- pathname = ap_os_case_canonical_filename(r->pool, pathname);
-
- /* Create a sub-request with the new filename */
+ /* Create a sub-request with the new filename
+ * The new_req filename is canonicalized by ap_sub_req_lookup_file()
+ */
new_req = ap_sub_req_lookup_file(pathname, r, NULL);
if (new_req == NULL) {
(*resource->hooks->free_file)(fhandle);