From 75659a3154e35274e8b6fd75c87560ffd50b37d2 Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 22 Nov 2017 07:41:33 -0500 Subject: [PATCH] fix #3260 --- src/js/pagestore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/pagestore.js b/src/js/pagestore.js index 9a012baeb..b0b3c5abb 100644 --- a/src/js/pagestore.js +++ b/src/js/pagestore.js @@ -667,7 +667,7 @@ PageStore.prototype.collapsibleResources = { /******************************************************************************/ PageStore.prototype.filterCSPReport = function(context) { - if ( µb.hnSwitches.evaluateZ('no-csp-reports', context.rootHostname) !== false ) { + if ( µb.hnSwitches.evaluateZ('no-csp-reports', context.requestHostname) ) { if ( µb.logger.isEnabled() ) { this.logData = µb.hnSwitches.toLogData(); }