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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to