httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: apache-1.3/src/modules/standard mod_negotiation.c
Date Tue, 02 Oct 2001 16:05:20 GMT
stoddard    01/10/02 09:05:20

  Modified:    src/modules/standard mod_negotiation.c
  Log:
  Back port W. Rowe's 2.0 a fix for the /?M=D autoindex problem.
  
  These two lines missing from the fast-redirect logic of mod_negotation.c are what
  allowed  mod_dir to reconstruct the _original_ path (to index.html instead of the
  new-found index.html.foo), merging the uri (unchanged) with the query string.
  It then failed, leaving an autoindex listing iff the user provided a query string.
  
  Revision  Changes    Path
  1.107     +2 -0      apache-1.3/src/modules/standard/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_negotiation.c,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -r1.106 -r1.107
  --- mod_negotiation.c	2001/02/12 10:18:04	1.106
  +++ mod_negotiation.c	2001/10/02 16:05:20	1.107
  @@ -2648,6 +2648,8 @@
        */
       ap_pool_join(r->pool, sub_req->pool);
       r->mtime = 0; /* reset etag info for subrequest */
  +    r->uri = sub_req->uri;
  +    r->args = sub_req->args;
       r->filename = sub_req->filename;
       r->handler = sub_req->handler;
       r->content_type = sub_req->content_type;
  
  
  

Mime
View raw message