From 9fd5df3eb562b7d400a1283f81073165fe9f1466 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 5 Oct 2000 02:11:11 +0000 Subject: [PATCH] The new request_rec set up for redirects needs to pick up the output filter chain from the conn_rec. Any required request filters will be inserted later. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86394 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_request.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 2b68e0ecfa..fda602133c 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -1385,6 +1385,8 @@ static request_rec *internal_internal_redirect(const char *new_uri, new->read_length = r->read_length; /* We can only read it once */ new->vlist_validator = r->vlist_validator; + new->output_filters = r->connection->output_filters; + apr_table_setn(new->subprocess_env, "REDIRECT_STATUS", apr_psprintf(r->pool, "%d", r->status)); -- 2.40.0