fix: require full valid browser dialer URL for http scheme

Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/de6da8b1-0d9b-4d56-a5a2-d0b06edc2965

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-26 20:56:05 +00:00
committed by GitHub
parent 3004e1e399
commit f1f0d5970a
+2 -2
View File
@@ -57,8 +57,8 @@ func CheckLegacyEnv() error {
}
func IsBrowserDialerProxy(raw string) bool {
parsed, err := url.Parse(raw)
return err == nil && strings.EqualFold(parsed.Scheme, "http")
_, _, ok := parseBrowserDialerAddress(raw)
return ok
}
func BeginCollectingDialerProxyURLs() error {