X-UA-Compatible rendered incorrectly


Currently, Orchard renders 'X-UA-Compatible' with the following:

<meta content="IE=edge,chrome=1" name="X-UA-Compatible" />

The correct way to render 'X-UA-Compatible' is:

<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">


erik_oppedijk wrote Apr 28, 2013 at 9:42 AM

Quick fix is to apply this:
@using Orchard.UI.Resources

SetMeta(new MetaEntry { HttpEquiv = "X-UA-Compatible", Name="dummy", Content = "IE=edge,chrome=1"});
For a better fix, a change has to be made in the Orchard.Framework ReouseManager.cs.
The "name" field is being used as a key, and no name is present when using "http-equiv", so the SetMeta stores nothing (returns)

sebastienros wrote May 21, 2013 at 12:46 AM

Fixed in changeset cc664affb831

sfmskywalker wrote Mar 28 at 12:28 AM

Fixed in changeset cbaa5b6d0eb7c4c31df2b44c7121f0a96cf67373