Project

General

Profile

« Previous | Next » 

Revision 8781ee15

Added by koszko over 1 year ago

fix application of default blocking rule under Chromium

View differences:

background/webrequest.js
134 134
	    return {cancel: true};
135 135
	}
136 136

  
137
	const policy = decide_policy(tree, queried_url, default_allow, secret);
137
	const policy =
138
	      decide_policy(tree, queried_url, !!default_allow.value, secret);
138 139
	if (!policy.error) {
139 140
	    const encoded_policy = encodeURIComponent(JSON.stringify(policy));
140 141
	    return {redirectUrl: redirect_url_template + encoded_policy};

Also available in: Unified diff