Browse Source

this fixes #349

pull/2/head
gorhill 9 years ago
parent
commit
c03d38a5c6
  1. 4
      src/js/traffic.js

4
src/js/traffic.js

@ -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…
Cancel
Save