From 498f35df71bd4554d6b1efd2df8e8a94a59a7d64 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Tue, 28 Nov 2017 23:29:12 +0500 Subject: [PATCH] Fix bug with no rule returned from PAC --- .../src/extension-common/35-pac-kitchen-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js index ecfede7..69bf4cb 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js @@ -423,7 +423,7 @@ ${ pacMods.filteredCustomsString pacMods.ifUsePacScriptProxies ) { return res + ` -/******/ return pacScriptProxies + directIfAllowed;`; +/******/ return (pacScriptProxies + directIfAllowed) || "DIRECT";`; } return res + `