mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-02 08:06:46 +00:00
fixup! fix: Converter for password of ss2022 and ws
This commit is contained in:
1 parent
c3671a154d
commit
449946cc15
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user