You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The img-src directive lists both *.mozilla.org and mozilla.org, this is only some leftover from recent changes / testing.
The prod CSP includes staging/nonprod CJ affiliate host. Is there a way to have it only in some form of dev extras or other env setting to not allow it on prod? Or is it actually intended to be able to test nonprod CJms from prod bedrock?
The prod CSP includes staging/nonprod CJ affiliate host. Is there a way to have it only in some form of dev extras or other env setting to not allow it on prod? Or is it actually intended to be able to test nonprod CJms from prod bedrock?
There seems to be the logic for dev vs. prod already prepared:
Description
img-src
directive lists both*.mozilla.org
andmozilla.org
, this is only some leftover from recent changes / testing.sentry.prod.mozaws
still being used?Steps to reproduce
~ $ https -v HEAD www.mozilla.org/en-US
(📟 ⎋)Expected result
Content-Security-Policy: connect-src
stage.cjms.nonprod.cloudops.mozgcp.nethttps://accounts.firefox.com/sentry.prod.mozaws.netwww.google-analytics.com 'self' cjms.services.mozilla.com o1069899.sentry.io *.mozilla.net *.mozilla.com region1.google-analytics.com www.googletagmanager.com *.mozilla.org o1069899.ingest.sentry.io; default-src 'self' *.mozilla.net *.mozilla.com *.mozilla.org; frame-src accounts.firefox.com www.google-analytics.com 'self' *.mozilla.net *.mozilla.com js.stripe.com www.youtube.com www.googletagmanager.com *.mozilla.org; style-src 'self' *.mozilla.net *.mozilla.com *.mozilla.org 'unsafe-inline'; img-src www.google-analytics.com creativecommons.org 'self' *.mozilla.net *.mozilla.commozilla.orgimages.ctfassets.net www.googletagmanager.com *.mozilla.org data:; font-src 'self' *.mozilla.net *.mozilla.com *.mozilla.org; child-src accounts.firefox.com www.google-analytics.com 'self' *.mozilla.net *.mozilla.com js.stripe.com www.youtube.com www.googletagmanager.com *.mozilla.org; script-src www.google-analytics.com s.ytimg.com 'self' 'unsafe-eval' tagmanager.google.com *.mozilla.net *.mozilla.com js.stripe.com www.youtube.com www.googletagmanager.com *.mozilla.org 'unsafe-inline'Actual result
Content-Security-Policy: connect-src stage.cjms.nonprod.cloudops.mozgcp.net https://accounts.firefox.com/ sentry.prod.mozaws.net www.google-analytics.com 'self' cjms.services.mozilla.com o1069899.sentry.io *.mozilla.net *.mozilla.com region1.google-analytics.com www.googletagmanager.com *.mozilla.org o1069899.ingest.sentry.io; default-src 'self' *.mozilla.net *.mozilla.com *.mozilla.org; frame-src accounts.firefox.com www.google-analytics.com 'self' *.mozilla.net *.mozilla.com js.stripe.com www.youtube.com www.googletagmanager.com *.mozilla.org; style-src 'self' *.mozilla.net *.mozilla.com *.mozilla.org 'unsafe-inline'; img-src www.google-analytics.com creativecommons.org 'self' *.mozilla.net *.mozilla.com mozilla.org images.ctfassets.net www.googletagmanager.com *.mozilla.org data:; font-src 'self' *.mozilla.net *.mozilla.com *.mozilla.org; child-src accounts.firefox.com www.google-analytics.com 'self' *.mozilla.net *.mozilla.com js.stripe.com www.youtube.com www.googletagmanager.com *.mozilla.org; script-src www.google-analytics.com s.ytimg.com 'self' 'unsafe-eval' tagmanager.google.com *.mozilla.net *.mozilla.com js.stripe.com www.youtube.com www.googletagmanager.com *.mozilla.org 'unsafe-inline'
The text was updated successfully, but these errors were encountered: