httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/cache mod_file_cache.c
Date Mon, 18 Jun 2001 05:39:11 GMT
wrowe       01/06/17 22:39:11

  Modified:    modules/cache mod_file_cache.c
  Log:
    Filenames aught to be normalized to the serverroot, and server_root_relative
    already canonicalizes names.
  
  Revision  Changes    Path
  1.55      +1 -1      httpd-2.0/modules/cache/mod_file_cache.c
  
  Index: mod_file_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/cache/mod_file_cache.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- mod_file_cache.c	2001/05/11 17:34:17	1.54
  +++ mod_file_cache.c	2001/06/18 05:39:10	1.55
  @@ -193,7 +193,7 @@
       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,
  
  
  

Mime
View raw message