Commit 6d809ce1 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'djadmin-fix-mermaid-sandbox-self-host' into 'master'

Allow self-hosted instances to render same-origin Iframe

See merge request gitlab-org/gitlab!79043
parents 6ce093b2 8db1c36c
......@@ -273,7 +273,7 @@ class ApplicationController < ActionController::Base
end
def default_headers
headers['X-Frame-Options'] = 'DENY'
headers['X-Frame-Options'] = 'SAMEORIGIN'
headers['X-XSS-Protection'] = '1; mode=block'
headers['X-UA-Compatible'] = 'IE=edge'
headers['X-Content-Type-Options'] = 'nosniff'
......
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/349755
milestone: '14.7'
type: development
group: group::analyzer frontend
default_enabled: false
default_enabled: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment