Skip to content

Commit

Permalink
[BUGFIX][SBN-216] Correct img-src 'data' policy in amasty base
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBreed committed Oct 4, 2021
1 parent 07fd412 commit a58b96b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions etc/adminhtml/csp_whitelist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?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="img-src">
<values>
<value id="data" type="host">data:</value>
<value id="amasty" type="host">amasty.com</value>
</values>
</policy>
</policies>
</csp_whitelist>

0 comments on commit a58b96b

Please sign in to comment.