flancer32 / mage2_ext_csp

Magento 2 module to collect CSP violations reports and to eliminate JS console warnings
GNU General Public License v3.0
51 stars 18 forks source link

Not works at magento 2.4.2 #18

Open davirs opened 2 years ago

davirs commented 2 years ago

2.4 works pretty, magento 2.4.2 with the last CSP patch this extension not works anymore.

https://github.com/magento/magento2/commit/047629aeb29354c35c7ebe4f12b7eed160e241e0

gino2014 commented 2 years ago

First of all thanks for the extension.

With Magento ver. 2.4.2-p2 and the following settings Settings

i get only the following result with SSH: Command 'fl32:csp:analyze': Analyze CSP violation reports and compose policy rules. 0 rules were added. 9 reports were deleted (id: 393-401). Command 'fl32:csp:analyze' is completed.

Any suggestions, update or workaround?

Thanks in advance

gino2014 commented 2 years ago

The same with the following settings Settings2