Page MenuHomePhabricator

MediaWiki-extensions-GoogleAnalytics : add support of Content Security Policy headers
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):

For now, setting the $wgCSPHeader with 'useNonces' => true, is disabling google analytics script

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
For sites using CSP with nonce

Benefits (why should this be implemented?):
For sites using CSP with nonce

Event Timeline

Change 886051 had a related patch set uploaded (by Anysite; author: Anysite):

[mediawiki/extensions/googleAnalytics@master] analytics: CSP

https://gerrit.wikimedia.org/r/886051