From: Jeff Trawick Date: Tue, 19 Sep 2000 23:50:36 +0000 (+0000) Subject: Get internal redirects working by initializing the output_filters X-Git-Tag: APACHE_2_0_ALPHA_7~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eef73d88903786a1b9998e6de7060f969496b801;p=apache 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 --- 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