From eef73d88903786a1b9998e6de7060f969496b801 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 19 Sep 2000 23:50:36 +0000 Subject: [PATCH] Get internal redirects working by initializing the output_filters list. We start over with only core_filter just like a fresh request. Processing of the new URI will determine what filters (if any) are appropriate. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86256 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_request.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/http/http_request.c b/modules/http/http_request.c index a4b2fcfb08..f8c6f5b203 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -75,6 +75,7 @@ #include "http_protocol.h" #include "http_log.h" #include "http_main.h" +#include "util_filter.h" #include "util_charset.h" #include "apr_strings.h" #include "apr_file_io.h" @@ -1387,6 +1388,8 @@ static request_rec *internal_internal_redirect(const char *new_uri, apr_table_setn(new->subprocess_env, "REDIRECT_STATUS", apr_psprintf(r->pool, "%d", r->status)); + ap_add_filter("CORE", NULL, new); + /* * XXX: hmm. This is because mod_setenvif and mod_unique_id really need * to do their thing on internal redirects as well. Perhaps this is a -- 2.40.0