]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1919247 from trunk:
authorEric Covener <covener@apache.org>
Mon, 15 Jul 2024 12:08:30 +0000 (12:08 +0000)
committerEric Covener <covener@apache.org>
Mon, 15 Jul 2024 12:08:30 +0000 (12:08 +0000)
copy the trusted flag from the subrequest

Submitted By: covener
Reviewed By: covener, ylavic, gbechis

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919249 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 71ecc2bbab17063c75354f377323421ad779c696..7e9477be1f17e7e72daff243814beb9e4702f34a 100644 (file)
@@ -708,7 +708,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;