]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
maintain trusted flag
authorEric Covener <covener@apache.org>
Mon, 1 Jul 2024 19:23:40 +0000 (19:23 +0000)
committerEric Covener <covener@apache.org>
Mon, 1 Jul 2024 19:23:40 +0000 (19:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918795 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index cb7af9cafb1b8ac5e69520b1711425d127a2b227..24d6b66706be82e7b046ad20d46c0f24ff087493 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(r, rr->content_type);
+    ap_set_content_type_ex(r, rr->content_type, AP_REQUEST_IS_TRUSTED_CT(r));
     r->content_encoding = rr->content_encoding;
     r->content_languages = rr->content_languages;
     r->per_dir_config = rr->per_dir_config;