From 11a5e589aa2cece841a7f37f9e053d36fd510c07 Mon Sep 17 00:00:00 2001 From: pini-girit Date: Wed, 7 Oct 2020 13:06:56 +0300 Subject: [PATCH] v1.14.4: Updated CSP whitelist --- composer.json | 2 +- etc/csp_whitelist.xml | 44 +++++++++++++-------------------------- etc/module.xml | 2 +- marketplace.composer.json | 2 +- 4 files changed, 17 insertions(+), 33 deletions(-) diff --git a/composer.json b/composer.json index 139461bf..7637dcee 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "cloudinary/cloudinary-magento2", "description": "Cloudinary Magento 2 Integration.", "type": "magento2-module", - "version": "1.14.3", + "version": "1.14.4", "license": "MIT", "require": { "cloudinary/cloudinary_php": "*" diff --git a/etc/csp_whitelist.xml b/etc/csp_whitelist.xml index 775e7e98..d282ecb4 100644 --- a/etc/csp_whitelist.xml +++ b/etc/csp_whitelist.xml @@ -3,51 +3,35 @@ - cloudinary.com - www.cloudinary.com - api.cloudinary.com - media-library.cloudinary.com - product-gallery.cloudinary.com - analytics-api.cloudinary.com + *.cloudinary.com cdnjs.cloudflare.com - res.cloudinary.com - cloudinary.com - www.cloudinary.com - p.cloudinary.com - media-library.cloudinary.com - product-gallery.cloudinary.com - analytics-api.cloudinary.com + *.cloudinary.com cdnjs.cloudflare.com - res.cloudinary.com + + + + + *.cloudinary.com + + + + + *.cloudinary.com - cloudinary.com - www.cloudinary.com - media-library.cloudinary.com - product-gallery.cloudinary.com - res.cloudinary.com - res-1.cloudinary.com - res-2.cloudinary.com - res-3.cloudinary.com - res-4.cloudinary.com - res-5.cloudinary.com + *.cloudinary.com data: - cloudinary.com - www.cloudinary.com - p.cloudinary.com - media-library.cloudinary.com - product-gallery.cloudinary.com - res.cloudinary.com + *.cloudinary.com diff --git a/etc/module.xml b/etc/module.xml index 9f89ab9d..5056d8c6 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,6 +1,6 @@ - + diff --git a/marketplace.composer.json b/marketplace.composer.json index 6653f644..14fe4763 100644 --- a/marketplace.composer.json +++ b/marketplace.composer.json @@ -2,7 +2,7 @@ "name": "cloudinary/cloudinary", "description": "Cloudinary Magento 2 Integration.", "type": "magento2-module", - "version": "1.14.3", + "version": "1.14.4", "license": "MIT", "require": { "cloudinary/cloudinary_php": "*"