Mailing List Archive

[Bug 65974] New: Default page does not set charset
https://bz.apache.org/bugzilla/show_bug.cgi?id=65974

Bug ID: 65974
Summary: Default page does not set charset
Product: Apache httpd-2
Version: 2.4.41
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: bugs@httpd.apache.org
Reporter: apache.tgoeg@neverbox.org
Target Milestone: ---

A request to the base domain of a static HTML site (implicit index.html) does
not add a valid "charset=" attribute in the header, just

Content-Type: text/html

whereas a request to a file below the root *does* get a charset attribute.

AddDefaultCharset UTF-8

also does not help here, see
https://bz.apache.org/bugzilla/show_bug.cgi?id=65699

This is a problem for some clients/automated tools (e.g.
https://github.com/linkchecker)

Tested using

curl -v https://site
and
curl -v https://site/page

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org