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/server request.c
Date Thu, 23 Aug 2001 21:21:17 GMT
wrowe       01/08/23 14:21:17

  Modified:    server   request.c
  Log:
    Another spot we are certain of the canonical_filename
  
  Revision  Changes    Path
  1.26      +3 -0      httpd-2.0/server/request.c
  
  Index: request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/request.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- request.c	2001/08/23 19:19:52	1.25
  +++ request.c	2001/08/23 21:21:17	1.26
  @@ -1404,6 +1404,9 @@
       /* 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;
  
  
  

Mime
View raw message