MantisBT: master f081ed1f

Author Committer Branch Timestamp Parent
eiben dhx master 2011-01-07 03:34 master 2a1eed9d
Affected Issues  0012641: content-type not valid for IE
Changeset

Fix 0012641: Internet Explorer does not support xhtml+xml MIME type

Internet Explorer prior to version 9 does not support the
application/xhtml+xml MIME type and will therefore not render pages
served up in this way.

We should check the "Accept" header sent by the browser to ensure that
the browser can handle application/xhtml+xml before we use this MIME
type. Otherwise the default should be to use the text/html MIME type for
older browsers.

Signed-off-by: David Hicks hickseydr@optusnet.com.au

mod - core/http_api.php Diff File