Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Bug 831804 - Add CSP hosts for Tabzilla CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
jbuck committed Jan 17, 2013
1 parent af1f822 commit 91dba27
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions settings.py
Expand Up @@ -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'",
Expand All @@ -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',
Expand Down

0 comments on commit 91dba27

Please sign in to comment.