Disabled the X-AspNetMvc-Version header

This commit is contained in:
James Coxhead
2015-12-08 21:19:41 +00:00
parent 220446afec
commit f27a726a6e

View File

@@ -145,6 +145,8 @@ namespace Umbraco.Web
});
ClientDependencySettings.Instance.MvcRendererCollection.Add(renderer);
// Disable the X-AspNetMvc-Version HTTP Header
MvcHandler.DisableMvcResponseHeader = true;
InstallHelper insHelper = new InstallHelper(UmbracoContext.Current);
insHelper.DeleteLegacyInstaller();