]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
copy the trusted flag from the subrequest
authorEric Covener <covener@apache.org>
Mon, 15 Jul 2024 12:06:46 +0000 (12:06 +0000)
committerEric Covener <covener@apache.org>
Mon, 15 Jul 2024 12:06:46 +0000 (12:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919247 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 65c389125a7bbe0a93874633ffdd6c1dbab281f9..e77f0eda5f5cf7b03b58bead5b2708e90f476661 100644 (file)
@@ -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;