Bug fix
This commit is contained in:
@@ -45,7 +45,7 @@ object ShadowsocksFmt : FmtBase() {
|
|||||||
fun toUri(config: ProfileItem): String {
|
fun toUri(config: ProfileItem): String {
|
||||||
val pw = "${config.method}:${config.password}"
|
val pw = "${config.method}:${config.password}"
|
||||||
|
|
||||||
return toUri(config, pw, null)
|
return toUri(config, Utils.encode(pw), null)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun toOutbound(profileItem: ProfileItem): OutboundBean? {
|
fun toOutbound(profileItem: ProfileItem): OutboundBean? {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ object SocksFmt : FmtBase() {
|
|||||||
else
|
else
|
||||||
":"
|
":"
|
||||||
|
|
||||||
return toUri(config, pw, null)
|
return toUri(config, Utils.encode(pw), null)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun toOutbound(profileItem: ProfileItem): OutboundBean? {
|
fun toOutbound(profileItem: ProfileItem): OutboundBean? {
|
||||||
|
|||||||
Reference in New Issue
Block a user