Fix for Issue #319
This commit is contained in:
parent
66ca046135
commit
926b335101
|
|
@ -115,7 +115,7 @@ namespace Microsoft.AspNet.Mvc
|
|||
// Adding X-Frame-Options header to prevent ClickJacking. See
|
||||
// http://tools.ietf.org/html/draft-ietf-websec-x-frame-options-10
|
||||
// for more information.
|
||||
httpContext.Response.Headers.Add("X-Frame-Options", new[] { "SAMEORIGIN" });
|
||||
httpContext.Response.Headers.Set("X-Frame-Options", "SAMEORIGIN");
|
||||
}
|
||||
|
||||
// <input type="hidden" name="__AntiForgeryToken" value="..." />
|
||||
|
|
|
|||
Loading…
Reference in New Issue