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(); }