Web Analytics

Fill the form & Get Installation Support

Fix Magento 2.3.5 Content Security Warnings

I got a solution by removing all the content security warnings by creating a module and adding the csp_whitelist.xml in the etc folder of the module.

Step 1: Create a module.

Step 2: Add csp_whitelist.xml in the etc folder of the module and copy-paste the below code in that file.

Clean the cache and check the site again. Probably all the Content security warnings will be removed by adding the above file in your module.

I think It will cover most of the domain, but if you face any other content security warnings then you can add the domain in the csp_whitelist.xml file.

Hope this article will help you to fix Magento 2.3.5 content security warnings.

Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Hire A. Patel

    Get a Free Quote

      /* second popup */

      Connect With Us