From 2892caa761da98691367ea06e3fe920c00055a3a Mon Sep 17 00:00:00 2001 From: windfallw <51202308+windfallw@users.noreply.github.com> Date: Tue, 1 Jun 2021 16:49:06 +0800 Subject: [PATCH] SetIEProxy : add prefix `http://` --- v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs b/v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs index 890352dc..5e5852a6 100644 --- a/v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs +++ b/v2rayN/v2rayN/HttpProxyHandler/HttpProxyHandle.cs @@ -41,7 +41,7 @@ namespace v2rayN.HttpProxyHandler if (type == ListenerType.GlobalHttp) { //ProxySetting.SetProxy($"{Global.Loopback}:{port}", Global.IEProxyExceptions, 2); - SysProxyHandle.SetIEProxy(true, true, $"{Global.Loopback}:{port}"); + SysProxyHandle.SetIEProxy(true, true, $"{Global.httpProtocol}{Global.Loopback}:{port}"); } else if (type == ListenerType.HttpOpenAndClear) { @@ -166,7 +166,7 @@ namespace v2rayN.HttpProxyHandler } if (type == ESysProxyType.ForcedChange) { - SysProxyHandle.SetIEProxy(true, true, $"{Global.Loopback}:{port}"); + SysProxyHandle.SetIEProxy(true, true, $"{Global.httpProtocol}{Global.Loopback}:{port}"); } else if (type == ESysProxyType.ForcedClear) {