1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Keep the subrequest filter in place when a subrequest is

redirected.

PR: 15423


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98778 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2003-02-24 00:57:40 +00:00
parent b5740554f3
commit f03fc13861
2 changed files with 12 additions and 0 deletions

View File

@@ -397,6 +397,15 @@ static request_rec *internal_internal_redirect(const char *new_uri,
new->output_filters = new->proto_output_filters;
new->input_filters = new->proto_input_filters;
if (new->main) {
/* Add back the subrequest filter, which we lost when
* we set output_filters to include only the protocol
* output filters from the original request.
*/
ap_add_output_filter_handle(ap_subreq_core_filter_handle,
NULL, new, new->connection);
}
update_r_in_filters(new->input_filters, r, new);
update_r_in_filters(new->output_filters, r, new);