aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/context/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/context/context.go b/internal/context/context.go
index da967b11..ad30d55f 100644
--- a/internal/context/context.go
+++ b/internal/context/context.go
@@ -289,7 +289,7 @@ func Contexter() macaron.Handler {
// 🚨 SECURITY: Prevent MIME type sniffing in some browsers,
// see https://github.com/gogs/gogs/issues/5397 for details.
c.Header().Set("X-Content-Type-Options", "nosniff")
- c.Header().Set("X-Frame-Options", "DENY")
+ c.Header().Set("X-Frame-Options", "deny")
ctx.Map(c)
}