mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-03 02:44:57 +12:00
this fixes #349
This commit is contained in:
parent
e18782672d
commit
c03d38a5c6
|
@ -403,8 +403,8 @@ var cspStripReporturi = function(csp) {
|
|||
return csp.replace(reReporturi, '');
|
||||
};
|
||||
|
||||
var reReporturi = /report-uri[^;]*;\s*/;
|
||||
var reScriptsrc = /script-src[^;]*;\s*/;
|
||||
var reReporturi = /report-uri[^;]*;?\s*/;
|
||||
var reScriptsrc = /script-src[^;]*;?\s*/;
|
||||
var reUnsafeinline = /'unsafe-inline'\s*|'nonce-[^']+'\s*/g;
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue