Project

General

Profile

Bug #538

X-UA-Compatible hardcoded in meta header (fixed to IE7)

Added by Momo LALMI over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/24/2010
Due date:
% Done:

0%

Estimated time:

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_$

#1

Updated by Koen Deforche over 12 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
#2

Updated by Koen Deforche over 12 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.

#3

Updated by Koen Deforche about 12 years ago

  • Status changed from Resolved to Closed

Fixed in 3.1.6

Also available in: Atom PDF