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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91232
13f79535-47bb-0310-9956-
ffa450edef68
*/
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;