fixup! fix: Converter for password of ss2022 and ws

This commit is contained in:
MetaCubeX 2022-06-23 00:18:30 +08:00
parent c3671a154d
commit 449946cc15

View file

@ -347,7 +347,7 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) {
)
if password, found = urlSS.User.Password(); !found {
dcBuf, _ := encRaw.DecodeString(cipher)
dcBuf, _ := enc.DecodeString(cipher)
cipher, password, found = strings.Cut(string(dcBuf), ":")
if !found {
continue