diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-30 10:32:18 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-30 10:32:18 -0400 |
| commit | a93045c01a2a04f52fd13fff4db7c8e859bbcf25 (patch) | |
| tree | 64148e319f8091bc54d1a28e640b9a64152d9e9d /MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs | |
| parent | f12809e7857bfd7d2d5371a2b7bcc46a95b00c0e (diff) | |
fix web project
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs b/MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs index c47332dbe..7490d62d6 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/ResponseFilter.cs @@ -1,6 +1,5 @@ using MediaBrowser.Model.Logging; using MediaBrowser.Server.Implementations.HttpServer.SocketSharp; -using ServiceStack; using ServiceStack.Web; using System; using System.Globalization; @@ -29,6 +28,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer { // Try to prevent compatibility view res.AddHeader("X-UA-Compatible", "IE=Edge"); + res.AddHeader("X-Frame-Options", "DENY"); var exception = dto as Exception; @@ -52,7 +52,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer if (hasOptions != null) { - //hasOptions.Options["Server"] = "Mono-HTTPAPI/1.1"; + hasOptions.Options["Server"] = "Mono-HTTPAPI/1.1"; // Content length has to be explicitly set on on HttpListenerResponse or it won't be happy string contentLength; |
