magento-2-smtp
magento-2-smtp copied to clipboard
Content Security Policy Issue
Preconditions (*)
- Magento 2.4.2
- Mageplaza SMTP Version 4.3.2
Steps to reproduce (*)
- Click on "Marketing" > "Newsletter" or any option under "Email Marketing"
Expected result (*)
- Corect admin pages to load
Actual result (*)
- Error on page due to Content Secuirty Policy blocking avada.io
I dont want avada.io to load, i dont need it. Marketing Automation module is disabled yet this still tries to load. *.avada.io is only in the csp whitelist for script-src, not frame-src but i dont see why i should have to add it when it is disabled and i dont want anything to do with avada.
Hi,
To fix your problem, please download the file 'csp_whitelist.xml' at the following link: https://drive.google.com/file/d/1OiLz8P1A77GUJAcRzHFTFRjBeXSGO4XT/view?usp=sharing Then replace that file in 'Mageplaza/Smtp/etc/csp_whitelist.xml' folder and try again for me.
You can refer to the following article for more details: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/security/content-security-policies.html
Thank you!
I am aware how to fix it, but why is avada.io trying to load scripts when marketing automation is turned off?