fix: add base64 decoding for VLESS host in ConvertsV2Ray function (#2125)

This commit is contained in:
JianGuo Wang authored and GitHub committed 2025-06-27 16:56:31 +08:00
1 parent 241ae92bce
commit 0d92b6724b
1 file changed
+3
+3
View File
@@ -208,6 +208,9 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) {
if err != nil {
continue
}
if decodedHost, err := tryDecodeBase64([]byte(urlVLess.Host)); err == nil {
urlVLess.Host = string(decodedHost)
}
query := urlVLess.Query()
vless := make(map[string]any, 20)
err = handleVShareLink(names, urlVLess, scheme, vless)