View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012641 | mantisbt | html | public | 2010-12-30 13:52 | 2014-12-08 02:08 |
Reporter | eiben | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0dev | ||||
Target Version | 1.3.0-beta.1 | ||||
Summary | 0012641: content-type not valid for IE | ||||
Description | The HTTP content-type "application/xhtml+xml" causes IE to try to download the page instead of displaying it. Firefox seems to have no problem with that. Tested on Windows 7 x64 with IE 8.0 | ||||
Additional Information | I modified the http_content_headers() function in http_api.php to: /**
| ||||
Tags | patch | ||||
Thanks for the great patch - this is exactly what we were looking for! I'll have this committed shortly. |
|
Thanks, committed! |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master f081ed1f 2011-01-07 03:34 Committer: dhx Details Diff |
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> |
Affected Issues 0012641 |
|
mod - core/http_api.php | Diff File | ||
MantisBT: master 8d464c02 2011-01-07 04:49 Details Diff |
Fix 0012641: HTTP_ACCEPT is not a constant Commit f081ed1f0171435e5a61880d46ca2e95a8c6b01e accidentally referenced $_SERVER[HTTP_ACCEPT] where HTTP_ACCEPT is not a valid constant. It should be $_SERVER['HTTP_ACCEPT'] instead (ie. the array key is a string). |
Affected Issues 0012641 |
|
mod - core/http_api.php | Diff File |