FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Correct proxy bypass behavior · hereww/codextools@1a06734 · GitHub

Commit 1a06734

Browse files
committed
Correct proxy bypass behavior
1 parent 9eacef6 commit 1a06734

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎proxy.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func proxyChromiumArguments(settings backendSettings) []string {
164164
bypass = strings.NewReplacer(",", ";", " ", "").Replace(bypass)
165165
args := []string{
166166
"--proxy-server=" + proxyURL.String(),
167-
"--proxy-bypass-list=<-loopback>;" + bypass,
167+
"--proxy-bypass-list=" + bypass,
168168
}
169169
if proxyPurposeEnabled(settings, proxyPurposeRealtime) {
170170
// Advanced Voice uses WebRTC. Without this flag Chromium may send

‎proxy_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func TestAdvancedVoiceProxyUsesChromiumAndWebRTCProxyPath(t *testing.T) {
8989
args := buildCodexArgumentsForSettings(9229, nil, settings)
9090
for _, expected := range []string{
9191
"--proxy-server=http://127.0.0.1:10809",
92-
"--proxy-bypass-list=<-loopback>;127.0.0.1;localhost;[::1]",
92+
"--proxy-bypass-list=127.0.0.1;localhost;[::1]",
9393
"--force-webrtc-ip-handling-policy=disable_non_proxied_udp",
9494
} {
9595
if !containsString(args, expected) {

‎web/src/App.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5330,7 +5330,7 @@ function ProxyScreen({
53305330
spellCheck={false}
53315331
/>
53325332
</Field>
5333-
<p className="field-hint">支持 http:// 和 https://,可带认证信息。保存时不会把密码写入日志;当前只支持 HTTP 代理协议</p>
5333+
<p className="field-hint">支持 http:// 和 https://,可带认证信息。保存后需要完全退出并重新启动 ChatGPT,新的代理参数才会进入高级语音和远程控制链路;不会修改系统 WinHTTP</p>
53345334
<Toolbar>
53355335
<Button onClick={() => void actions.saveSettings()}>
53365336
<Save className="h-4 w-4" />

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL