1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-03 02:44:57 +12:00
This commit is contained in:
gorhill 2015-09-09 00:31:28 -04:00
parent e18782672d
commit c03d38a5c6

View file

@ -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;
/******************************************************************************/