From be4c22012e5819afe36608e3540f046e020f9c23 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Mon, 8 Dec 2025 17:20:38 +0800 Subject: [PATCH] fix: Fix HTTP/HTTPS docker proxy issues (#11258) Refs #11254 --- core/app/service/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/service/setting.go b/core/app/service/setting.go index b1e4c819f..2555066c2 100644 --- a/core/app/service/setting.go +++ b/core/app/service/setting.go @@ -694,7 +694,7 @@ func loadDockerProxy(req dto.ProxyUpdate) string { account += "@" } - return fmt.Sprintf("%s://%s%s:%s", req.ProxyType, account, req.ProxyUrl, req.ProxyPort) + return fmt.Sprintf("%s://%s%s:%s", req.ProxyType, account, strings.ReplaceAll(req.ProxyUrl, req.ProxyType+"://", ""), req.ProxyPort) } func checkProxy(req dto.ProxyUpdate) error {