Skip to content

Commit

Permalink
Add frame-ancestors CSP directive
Browse files Browse the repository at this point in the history
  • Loading branch information
lspreitzer committed Nov 28, 2024
1 parent 7d4e7bd commit 32818ad
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 160 deletions.
11 changes: 11 additions & 0 deletions Configuration/FlexForm/ContentSecurityPolicy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,17 @@
</config>
</TCEforms>
</frameSrc>
<frameAncestors>
<TCEforms>
<label>frame-ancestors</label>
<description>LLL:EXT:ls_security_headers/Resources/Private/Language/locallang_tca.xlf:tx_lssecurityheaders_headers.content_security_policy.frame-ancestors.description</description>
<config>
<type>text</type>
<eval>trim</eval>
<placeholder>'none' 'self' example.com *.example.com https://onlysecure.example.com</placeholder>
</config>
</TCEforms>
</frameAncestors>
<fontSrc>
<TCEforms>
<label>font-src</label>
Expand Down
Loading

0 comments on commit 32818ad

Please sign in to comment.