This commit is contained in:
2dust
2024-11-07 20:37:17 +08:00
parent 2218251b03
commit 547bbf8e95
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ object ShadowsocksFmt : FmtBase() {
fun toUri(config: ProfileItem): String {
val pw = "${config.method}:${config.password}"
return toUri(config, pw, null)
return toUri(config, Utils.encode(pw), null)
}
fun toOutbound(profileItem: ProfileItem): OutboundBean? {

View File

@@ -38,7 +38,7 @@ object SocksFmt : FmtBase() {
else
":"
return toUri(config, pw, null)
return toUri(config, Utils.encode(pw), null)
}
fun toOutbound(profileItem: ProfileItem): OutboundBean? {