From 63b85e54b3fa4d6abc9b4bd199ecf5ae68c99b82 Mon Sep 17 00:00:00 2001 From: Nurettin Yilmaz Date: Mon, 27 Nov 2023 14:21:27 +0300 Subject: [PATCH] ATL-1546: Add cloudflare cdn, adform, dmxleo to csp --- src/prpl.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/prpl.ts b/src/prpl.ts index b1294b7..a50e721 100644 --- a/src/prpl.ts +++ b/src/prpl.ts @@ -157,10 +157,12 @@ export function makeHandler(root?: string, config?: Config): ( "https://creativecdn.com", "https://documents.colendilabs.com", "https://challenges.cloudflare.com", + "https://cdnjs.cloudflare.com", "app.vwo.com", "*.visualwebsiteoptimizer.com", "https://*.adjust.com", - "maps.googleapis.com" + "maps.googleapis.com", + "*.adform.net", ]; const styleSrcAllowedHosts = [ @@ -221,6 +223,7 @@ export function makeHandler(root?: string, config?: Config): ( "*.cloudfront.net", "*.thebrighttag.com", "*.semasio.net", + "*.dmxleo.com", ]; // json, html etc @@ -260,6 +263,8 @@ export function makeHandler(root?: string, config?: Config): ( "*.storyly.io", "*.doubleclick.net", "maps.googleapis.com", + "*.dahi.ai", + "*.adrttt.com", ]; response.setHeader('Content-Security-Policy',