You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/11/13 18:03:10 UTC
DO NOT REPLY [Bug 14513] New: -
AddDefaultCharset should apply to application/xhtml+xml
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14513>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14513
AddDefaultCharset should apply to application/xhtml+xml
Summary: AddDefaultCharset should apply to application/xhtml+xml
Product: Apache httpd-2.0
Version: 2.0.43
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: joe@kafsemo.org
AddDefaultCharset is currently only applied to a small list of MIME types. XHTML
should also be included.
As far as I can see, this simply involves adding "application/xhtml+xml" to the
'needcset' array in server/protocol.c; ideally this array would be replaced with
configurable settings, as a number of other XML-based MIME types would also
qualify for this treatment (text/xml and image/svg, for example).
(Whilst XML may well include its charset in the header, I believe it should also
be sent as part of the MIME type; perhaps the file could be checked for the
correct encoding to declare before imposing the site's default?)
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org