Skip to content

Commit

Permalink
10.2.9: #320
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 5, 2023
1 parent 58bb03c commit 2e6ab10
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
20 changes: 15 additions & 5 deletions Framework/etc/csp_whitelist.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- 2023-08-05 -->
<csp_whitelist
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd'
>
<policies>
<!-- 2023-08-05
«Refused to load the font 'https://maxcdn.bootstrapcdn.com/font-awesome/latest/fonts/fontawesome-webfont.woff2?v=4.7.0'
because it violates the following Content Security Policy directive:
"font-src fonts.gstatic.com data: 'self' 'unsafe-inline'"»: https://github.com/mage2pro/core/issues/320 -->
<policy id='font-src'>
<values>
<value id='bootstrapCdn' type='host'>*.bootstrapcdn.com</value>
</values>
</policy>
<!-- 2023-08-05
1) «Refused to load the stylesheet 'https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css'
because it violates the following Content Security Policy directive:
"style-src *.adobe.com *.aptrinsic.com fonts.googleapis.com 'self' 'unsafe-inline'".
Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.»:
https://github.com/mage2pro/core/issues/319
2) https://magento.stackexchange.com/a/312254 -->
<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='bootstrapCdn' type='host'>*.bootstrapcdn.com</value>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/core"
,"version": "10.2.8"
,"version": "10.2.9"
,"description": "Mage2.PRO core package."
,"type": "magento2-module"
,"homepage": "https://mage2.pro"
Expand Down

0 comments on commit 2e6ab10

Please sign in to comment.