mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-10 19:12:28 +08:00
fixup! fix: Converter for password of ss2022 and ws
This commit is contained in:
parent
a6df4aa5c5
commit
847c8ccbc7
@ -347,7 +347,7 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if password, found = urlSS.User.Password(); !found {
|
if password, found = urlSS.User.Password(); !found {
|
||||||
dcBuf, _ := encRaw.DecodeString(cipher)
|
dcBuf, _ := enc.DecodeString(cipher)
|
||||||
cipher, password, found = strings.Cut(string(dcBuf), ":")
|
cipher, password, found = strings.Cut(string(dcBuf), ":")
|
||||||
if !found {
|
if !found {
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user