summaryrefslogtreecommitdiffstats
path: root/modules/cache
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-06-18 07:39:10 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-06-18 07:39:10 +0200
commite6bb83641f083f9d55a65d7e5085ffecb45b591a (patch)
treede547471f9ee147cd8e6eea6b13321ec92ef128d /modules/cache
parent Allow index.html.en and Index.html.FR to both be considered in negotation (diff)
downloadapache2-e6bb83641f083f9d55a65d7e5085ffecb45b591a.tar.xz
apache2-e6bb83641f083f9d55a65d7e5085ffecb45b591a.zip
Filenames aught to be normalized to the serverroot, and server_root_relative
already canonicalizes names. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89382 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/mod_file_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cache/mod_file_cache.c b/modules/cache/mod_file_cache.c
index 39f8b17ad0..df4966595d 100644
--- a/modules/cache/mod_file_cache.c
+++ b/modules/cache/mod_file_cache.c
@@ -193,7 +193,7 @@ static void cache_the_file(cmd_parms *cmd, const char *filename, int mmap)
apr_status_t rc;
const char *fspec;
- fspec = ap_os_case_canonical_filename(cmd->pool, filename);
+ fspec = ap_server_root_relative(cmd->pool, filename);
if ((rc = apr_stat(&tmp.finfo, fspec, APR_FINFO_MIN,
cmd->temp_pool)) != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server,