Skip to content

Commit d44188a

Browse files
Merge pull request #26 from magento-tsg/MC-37964
[Condor] MC-37964: [Backport for 2.3.x-p1]Clean CSP violations for EE+B2B
2 parents 674a172 + 64fb67d commit d44188a

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
10+
<policies>
11+
<policy id="connect-src">
12+
<values>
13+
<value id="vimeo_com" type="host">vimeo.com</value>
14+
</values>
15+
</policy>
16+
<policy id="font-src">
17+
<values>
18+
<value id="fonts_gstatic_com" type="host">fonts.gstatic.com</value>
19+
</values>
20+
</policy>
21+
<policy id="style-src">
22+
<values>
23+
<value id="fonts_googleapis_com" type="host">fonts.googleapis.com</value>
24+
</values>
25+
</policy>
26+
<policy id="script-src">
27+
<values>
28+
<value id="maps_googleapis_com" type="host">maps.googleapis.com</value>
29+
</values>
30+
</policy>
31+
<policy id="img-src">
32+
<values>
33+
<value id="img_youtube_com" type="host">img.youtube.com</value>
34+
<value id="maps_googleapis_com" type="host">maps.googleapis.com</value>
35+
<value id="maps_gstatic.com" type="host">maps.gstatic.com</value>
36+
</values>
37+
</policy>
38+
<policy id="frame-src">
39+
<values>
40+
<value id="www_youtube_com" type="host">www.youtube.com</value>
41+
</values>
42+
</policy>
43+
</policies>
44+
</csp_whitelist>

0 commit comments

Comments
 (0)