Skip to content

Commit

Permalink
Merge pull request #87 from trustpilot/csp-whitelist
Browse files Browse the repository at this point in the history
Csp whitelist
  • Loading branch information
LukasBil authored Jul 27, 2021
2 parents 07297ab + 622339b commit 71b7ab3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions etc/csp_whitelist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
<policies>
<policy id="style-src">
<values>
<value id="trustpilot" type="host">*.trustpilot.com</value>
</values>
</policy>
<policy id="frame-src">
<values>
<value id="trustpilot" type="host">*.trustpilot.com</value>
</values>
</policy>
<policy id="script-src">
<values>
<value id="trustpilot" type="host">*.trustpilot.com</value>
</values>
</policy>
<policy id="font-src">
<values>
<value id="gstatic" type="host">*.gstatic.com</value>
</values>
</policy>
</policies>
</csp_whitelist>

0 comments on commit 71b7ab3

Please sign in to comment.