File apache2-CVE-2024-40725.patch of Package apache2.39433

Index: httpd-2.4.23/modules/http/http_request.c
===================================================================
--- httpd-2.4.23.orig/modules/http/http_request.c
+++ httpd-2.4.23/modules/http/http_request.c
@@ -657,7 +657,7 @@ AP_DECLARE(void) ap_internal_fast_redire
     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;
openSUSE Build Service is sponsored by