diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js index 759aab7..bf8ef4f 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js @@ -505,6 +505,7 @@ PROXY foobar.com:8080; # Not HTTP!`.trim()} return proxyStringRaw .replace(/#.*$/mg, '') // Strip comments. + .replace(/\s*DIRECT\s*/g, '') // Remove DIRECT from old versions. .split( /(?:[^\S\r\n]*(?:;|\r?\n)+[^\S\r\n]*)+/g ) .map( (p) => p.trim() ) .filter((p) => p)