Bug #538
closedX-UA-Compatible hardcoded in meta header (fixed to IE7)
0%
Description
To add HTML5 support to Microsoft Internet Explorer 5 , IE 6 , IE 7, IE 8 and even IE 9 someone may want to use Google Chrome Frame...
To allow Google Chrome Frame to handle the HTML page on Microsoft IE it is important to add a meta header like this :
WApplication::instance()->addMetaHeader("X-UA-Compatible" , "IE=8,chrome=1" ) ;
But this is not working as expected.
C:\wt\3.1.5\build\src\Boot_html.C (10): "<meta http-equiv='X-UA-Compatible' content='IE=7' $_METACLOSE_$\r\n"
C:\wt\3.1.5\build\src\Hybrid_html.C (10): "<meta http-equiv='X-UA-Compatible' content='IE=7' $_METACLOSE_$\r\n"
C:\wt\3.1.5\build\src\Plain_html.C (10): "<meta http-equiv='X-UA-Compatible' content='IE=7' $_METACLOSE_$\r\n"
C:\wt\3.1.5\src\web\skeleton\Boot.html(4):<meta http-equiv='X-UA-Compatible' content='IE=7' $_METACLOSE_$
C:\wt\3.1.5\src\web\skeleton\Hybrid.html(4):<meta http-equiv='X-UA-Compatible' content='IE=7' $_METACLOSE_$
C:\wt\3.1.5\src\web\skeleton\Plain.html(4):<meta http-equiv='X-UA-Compatible' content='IE=7' $_METACLOSE_$
Updated by Koen Deforche over 13 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
Updated by Koen Deforche over 13 years ago
- Status changed from InProgress to Resolved
addMetaHeader() has been overloaded with a variant which takes a type (MetaName or MetaHttpHeader), and this can be used to override the X-UA-Compatible header.
In the future we may prefer to implement MetaHttpHeaders directly as Http headers.