Project

General

Profile

« Previous | Next » 

Revision cb70284d

Added by koszko over 1 year ago

  • ID cb70284d6334aad9b731f9e7b5986de49f3cdfc2
  • Parent 387c8c2a

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