aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-11-06 10:45:40 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-11-06 10:45:40 -0500
commitf775f7c1fa6455aabda6a988ec5e43b52c896a39 (patch)
treeaa5993078a78b0ad53c8b033d20134a7c2dd7a4b /MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs
parentec3caf5865d073f4eaba5642c761e237de456710 (diff)
try to forcefully prevent compatibility view
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs
index 5f354fb0d..7d049549b 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs
@@ -181,6 +181,9 @@ namespace MediaBrowser.Server.Implementations.HttpServer
/// <param name="dto">The dto.</param>
private void FilterResponse(IHttpRequest req, IHttpResponse res, object dto)
{
+ // Try to prevent compatibility view
+ res.AddHeader("X-UA-Compatible", "IE=Edge");
+
var exception = dto as Exception;
if (exception != null)