From: Eric Covener Date: Mon, 15 Jul 2024 12:06:46 +0000 (+0000) Subject: copy the trusted flag from the subrequest X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c84b560b515d5a5eb9231efef32b2c8c54aff49;p=thirdparty%2Fapache%2Fhttpd.git copy the trusted flag from the subrequest git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919247 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 65c389125a7..e77f0eda5f5 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -705,7 +705,7 @@ AP_DECLARE(void) ap_internal_fast_redirect(request_rec *rr, request_rec *r) r->args = rr->args; r->finfo = rr->finfo; r->handler = rr->handler; - ap_set_content_type_ex(r, rr->content_type, AP_REQUEST_IS_TRUSTED_CT(r)); + ap_set_content_type_ex(r, rr->content_type, AP_REQUEST_IS_TRUSTED_CT(rr)); r->content_encoding = rr->content_encoding; r->content_languages = rr->content_languages; r->per_dir_config = rr->per_dir_config;