1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 00:42:45 +01:00
This commit is contained in:
gorhill 2017-11-22 07:41:33 -05:00
parent 71e8983a5f
commit 75659a3154
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

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