From: William A. Rowe Jr Date: Thu, 23 Aug 2001 21:21:17 +0000 (+0000) Subject: Another spot we are certain of the canonical_filename X-Git-Tag: 2.0.25~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8944117f48ee59fa12e27f5430155be9ad760050;p=apache Another spot we are certain of the canonical_filename git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90590 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/request.c b/server/request.c index 2509520fb6..4e3c0043f5 100644 --- a/server/request.c +++ b/server/request.c @@ -1404,6 +1404,9 @@ AP_DECLARE(request_rec *) ap_sub_req_lookup_dirent(const apr_finfo_t *dirent, /* This is 100% safe, since dirent->name just came from the filesystem */ rnew->uri = ap_make_full_path(rnew->pool, udir, dirent->name); rnew->filename = ap_make_full_path(rnew->pool, fdir, dirent->name); + if (r->canonical_filename == r->filename) + rnew->canonical_filename = rnew->filename; + ap_parse_uri(rnew, rnew->uri); /* fill in parsed_uri values */ rnew->per_dir_config = r->per_dir_config;