1
1
<?xml version =" 1.0" ?>
2
2
<csp_whitelist xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd" >
3
3
<policies >
4
+ <!-- SCRIPT-SRC -->
4
5
<policy id =" script-src" >
5
6
<values >
6
7
<value id =" unzer-ui-js" type =" host" >https://static.unzer.com</value >
7
8
<value id =" apple-js" type =" host" >https://applepay.cdn-apple.com</value >
8
9
<value id =" google-pay" type =" host" >https://pay.google.com</value >
9
10
<value id =" jquery-js" type =" host" >https://code.jquery.com</value >
10
11
<value id =" threatmetrix" type =" host" >https://h.online-metrix.net</value >
12
+ <value id =" threatmetrix-64" type =" host" >https://h64.online-metrix.net</value >
11
13
</values >
12
14
</policy >
15
+
16
+ <!-- CONNECT-SRC -->
13
17
<policy id =" connect-src" >
14
18
<values >
15
- <value id =" unzer-payment-1" type =" host" >https://payment.unzer.com</value >
16
- <value id =" unzer-payment-2" type =" host" >https://payment.heidelpay.com</value >
17
- <value id =" unzer-payment-3" type =" host" >https://sbx-payment.heidelpay.com</value >
19
+ <!-- Unzer Payment APIs -->
18
20
<value id =" unzer-api-1" type =" host" >https://api.unzer.com</value >
19
- <value id =" unzer-api-2" type =" host" >https://api.heidelpay.com</value >
20
- <value id =" unzer-api-3" type =" host" >https://sbx-api.heidelpay.com</value >
21
+ <value id =" unzer-api-heidelpay-deprecated" type =" host" >https://api.heidelpay.com</value >
22
+ <value id =" unzer-api-sbx-heidelpay-deprecated" type =" host" >https://sbx-api.heidelpay.com</value >
23
+ <value id =" unzer-api-4" type =" host" >https://sbx-api.unzer.com</value >
24
+
25
+ <!-- Payment Frames -->
26
+ <value id =" unzer-payment-1" type =" host" >https://payment.unzer.com</value >
27
+ <value id =" unzer-payment-heidelpay-deprecated" type =" host" >https://payment.heidelpay.com</value >
28
+ <value id =" unzer-payment-sbx-heidelpay-deprecated" type =" host" >https://sbx-payment.heidelpay.com</value >
29
+ <value id =" unzer-payment-4" type =" host" >https://sbx-payment.unzer.com</value >
30
+
31
+ <!-- ThreatMetrix -->
21
32
<value id =" threatmetrix" type =" host" >https://h.online-metrix.net</value >
33
+ <value id =" threatmetrix-64" type =" host" >https://h64.online-metrix.net</value >
34
+
35
+ <!-- Google Pay -->
22
36
<value id =" google-pay-1" type =" host" >https://google.com/pay</value >
23
37
<value id =" google-pay-2" type =" host" >https://www.google.com/pay</value >
24
38
<value id =" google-pay-3" type =" host" >https://pay.google.com</value >
39
+ <value id =" hpcgw" type =" host" >https://test-heidelpay.hpcgw.net/</value >
40
+ <value id =" sbx" type =" host" >https://sbx-api.heidelpay.com/</value >
25
41
</values >
26
42
</policy >
43
+
44
+ <!-- FRAME-SRC -->
27
45
<policy id =" frame-src" >
28
46
<values >
29
- <value id =" unzer-frame-1" type =" host" >https://payment.unzer.com/</value >
30
- <value id =" unzer-frame-2" type =" host" >https://payment.heidelpay.com/</value >
31
- <value id =" unzer-frame-3" type =" host" >https://sbx-payment.heidelpay.com/</value >
47
+ <!-- Payment Frames -->
48
+ <value id =" unzer-frame-1" type =" host" >https://payment.unzer.com</value >
49
+ <value id =" unzer-frame-heidelpay-deprecated" type =" host" >https://payment.heidelpay.com</value >
50
+ <value id =" unzer-frame-sbx-heidelpay-deprecated" type =" host" >https://sbx-payment.heidelpay.com</value >
51
+ <value id =" unzer-frame-4" type =" host" >https://sbx-payment.unzer.com</value >
52
+
53
+ <!-- ThreatMetrix -->
32
54
<value id =" threatmetrix" type =" host" >https://h.online-metrix.net</value >
55
+
56
+ <!-- Google Pay -->
33
57
<value id =" google-pay-1" type =" host" >https://google.com/pay</value >
34
58
<value id =" google-pay-2" type =" host" >https://pay.google.com/</value >
59
+ <value id =" hpcgw" type =" host" >https://test-heidelpay.hpcgw.net/</value >
60
+ <value id =" sbx" type =" host" >https://sbx-api.heidelpay.com/</value >
35
61
</values >
36
62
</policy >
63
+
64
+ <!-- FONT-SRC -->
37
65
<policy id =" font-src" >
38
66
<values >
39
67
<value id =" unzer-fonts-src" type =" host" >https://static.unzer.com</value >
40
68
<value id =" apple-font-src" type =" host" >https://applepay.cdn-apple.com</value >
41
69
</values >
42
70
</policy >
71
+
72
+ <!-- IMG-SRC -->
43
73
<policy id =" img-src" >
44
74
<values >
45
75
<value id =" unzer-img-src" type =" host" >https://static.unzer.com</value >
48
78
</values >
49
79
</policy >
50
80
</policies >
51
- </csp_whitelist >
81
+ </csp_whitelist >
0 commit comments