Skip to content

Commit

Permalink
Merge pull request #20 from MatthijsBreed/bugfix/SBN-216_amasty-img-s…
Browse files Browse the repository at this point in the history
…rc-data-override

[BUGFIX][SBN-216] Correct img-src 'data' policy in amasty base
  • Loading branch information
experius-nl authored Oct 4, 2021
2 parents 07fd412 + a58b96b commit 20bc0ba
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 20bc0ba

Please sign in to comment.