From 449946cc15d7e27b125b2b30eee93fabb2ae5b65 Mon Sep 17 00:00:00 2001 From: MetaCubeX Date: Thu, 23 Jun 2022 00:18:30 +0800 Subject: [PATCH] fixup! fix: Converter for password of ss2022 and ws --- common/convert/converter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/convert/converter.go b/common/convert/converter.go index fad13068..6661ce1b 100644 --- a/common/convert/converter.go +++ b/common/convert/converter.go @@ -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