From 91dba27152042a2e34fcdc206e39913026e92812 Mon Sep 17 00:00:00 2001 From: Jon Buckley Date: Thu, 17 Jan 2013 12:44:03 -0500 Subject: [PATCH] Bug 831804 - Add CSP hosts for Tabzilla CDN --- settings.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/settings.py b/settings.py index b5602ee..786d18f 100644 --- a/settings.py +++ b/settings.py @@ -370,17 +370,23 @@ def JINJA_CONFIG(): 'https://www.mozilla.org', 'http://statse.webtrendslive.com', 'https://statse.webtrendslive.com', + 'http://*.cdn.mozilla.net', + 'https://*.cdn.mozilla.net', 'data:', ) CSP_STYLE_SRC = ( "'self'", 'http://www.mozilla.org', 'https://www.mozilla.org', + 'http://*.cdn.mozilla.net', + 'https://*.cdn.mozilla.net', ) CSP_FONT_SRC = ( "'self'", 'http://www.mozilla.org', 'https://www.mozilla.org', + 'http://*.cdn.mozilla.net', + 'https://*.cdn.mozilla.net', ) CSP_SCRIPT_SRC = ( "'self'", @@ -392,6 +398,8 @@ def JINJA_CONFIG(): 'https://www.mozilla.org', 'http://statse.webtrendslive.com', 'https://statse.webtrendslive.com', + 'http://*.cdn.mozilla.net', + 'https://*.cdn.mozilla.net', ) CSP_OPTIONS = ( 'eval-script',