From 558d67204ba5f308aa3867012c9cc2fc4cfe2f71 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 1 Nov 2017 00:19:45 +0500 Subject: [PATCH] Fix migration bug --- .../37-sync-pac-script-with-pac-provider-api.tmpl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js index ad1d3b9..b7c38c9 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js @@ -538,7 +538,7 @@ // Change semicolons to semicolons followed by newlines in proxy string (raw). const migrateProxies = (oldStr) => oldStr.replace(/;\\r?\\n?/g, ';\\n'); const modsMutated = window.apis.pacKitchen.getPacModsRaw(); - modsMutated['customProxyStringRaw'] = migrateProxies(conf.value); + modsMutated['customProxyStringRaw'] = migrateProxies(modsMutated['customProxyStringRaw']); window.apis.pacKitchen.keepCookedNowAsync(modsMutated, ifUpdatedCb); } else {