httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/server request.c
Date Sun, 14 Dec 2003 16:21:44 GMT
nd          2003/12/14 08:21:44

  Modified:    .        Tag: APACHE_2_0_BRANCH CHANGES STATUS
               server   Tag: APACHE_2_0_BRANCH request.c
  Log:
  Let mod_autoindex show filenames containing special chars like %.
  
  PR: 13598
  Reviewed by: Ian Holsman, Jeff Trawick
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.988.2.197 +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.988.2.196
  retrieving revision 1.988.2.197
  diff -u -u -r1.988.2.196 -r1.988.2.197
  --- CHANGES	14 Dec 2003 00:26:11 -0000	1.988.2.196
  +++ CHANGES	14 Dec 2003 16:21:43 -0000	1.988.2.197
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.49
   
  +  *) mod_autoindex / core: Don't fail to show filenames containing
  +     special characters like '%'. PR 13598.  [André Malo]
  + 
     *) mod_status: Report total CPU time accurately when using a threaded
        MPM.  PR 23795.  [Jeff Trawick]
   
  
  
  
  1.751.2.600 +1 -6      httpd-2.0/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/STATUS,v
  retrieving revision 1.751.2.599
  retrieving revision 1.751.2.600
  diff -u -u -r1.751.2.599 -r1.751.2.600
  --- STATUS	14 Dec 2003 14:18:35 -0000	1.751.2.599
  +++ STATUS	14 Dec 2003 16:21:43 -0000	1.751.2.600
  @@ -292,11 +292,6 @@
            nd replies: But if it can't be 0 the alternatives thereafter make no
              sense anymore, right?
   
  -    * Let mod_autoindex show filenames containing special characters.
  -      PR 13598.
  -        server/request.c: r1.130
  -      +1: nd, ianh, trawick
  -
       * mod_setenvif: Fix optimizer to treat regexps as such even if they
         only contain anchors like \b. PR 24219.
           modules/metadata/mod_setenvif.c: r1.44
  
  
  
  No                   revision
  No                   revision
  1.121.2.8 +4 -1      httpd-2.0/server/request.c
  
  Index: request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/request.c,v
  retrieving revision 1.121.2.7
  retrieving revision 1.121.2.8
  diff -u -u -r1.121.2.7 -r1.121.2.8
  --- request.c	20 Nov 2003 21:32:52 -0000	1.121.2.7
  +++ request.c	14 Dec 2003 16:21:44 -0000	1.121.2.8
  @@ -1694,10 +1694,13 @@
               rnew->uri = ap_make_full_path(rnew->pool, rnew->uri, r->path_info
+ 1);
               rnew->path_info = apr_pstrdup(rnew->pool, r->path_info);
           }
  +        rnew->uri = ap_escape_uri(rnew->pool, rnew->uri);
       }
       else {
           udir = ap_make_dirstr_parent(rnew->pool, r->uri);
  -        rnew->uri = ap_make_full_path(rnew->pool, udir, dirent->name);
  +        rnew->uri = ap_escape_uri(rnew->pool, ap_make_full_path(rnew->pool,
  +                                                                udir,
  +                                                                dirent->name));
       }
   
       fdir = ap_make_dirstr_parent(rnew->pool, r->filename);
  
  
  

Mime
View raw message