1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-28 02:50:39 +12:00

this addresses issue raised in #71

This commit is contained in:
Raymond Hill 2014-12-05 10:43:47 -02:00
parent b62fb94a00
commit baa8e86fd4

View file

@ -654,7 +654,7 @@ var onMainDocHeadersReceived = function(details) {
// Enforce strict HTTPS?
if ( requestScheme === 'https' && µm.tMatrix.evaluateSwitchZ('https-strict', pageStats.pageHostname) ) {
csp += "default-src https: data: chrome-search: 'unsafe-inline' 'unsafe-eval'";
csp += "default-src chrome-search: data: file: https: wss: 'unsafe-eval' 'unsafe-inline'";
}
// https://github.com/gorhill/httpswitchboard/issues/181