1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

* Always trust content types that we set literally

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918814 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ruediger Pluem
2024-07-02 06:35:53 +00:00
parent cf3402e182
commit aa4b05ee05
17 changed files with 25 additions and 25 deletions

View File

@@ -994,7 +994,7 @@ static int x_handler(request_rec *r)
* Set the Content-type header. Note that we do not actually have to send
* the headers: this is done by the http core.
*/
ap_set_content_type(r, "text/html");
ap_set_content_type_ex(r, "text/html", 1);
/*
* If we're only supposed to send header information (HEAD request), we're
* already there.