Page MenuHomePhabricator

XTools gadget triggers CSP violation warning when previewing any CN banner
Closed, DuplicatePublicBUG REPORT

Description

seems like this happens with any article, any CN banner. not a default gadget but I imagine not rare. does CSP somehow change when a banner is loaded?

Event Timeline

Yes, this happens any time a banner is previewed and resources are loaded from an external (including wmcloud/toolforge) domain. It's intended as a security feature to ensure centralnotice admins don't accidentally load external resources in banners. See T199055 where changing this was declined