Fix parse
This commit is contained in:
parent
5efb0b1ad9
commit
8f08d090c5
@ -76,10 +76,12 @@ object ProxyUtil {
|
||||
@JvmOverloads
|
||||
fun parseProxies(text: String, tryDecode: Boolean = true): MutableList<String> {
|
||||
|
||||
if (tryDecode) {
|
||||
try {
|
||||
return parseProxies(String(Base64.decode(text, Base64.NO_PADDING)), false)
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
}
|
||||
|
||||
val proxies = mutableListOf<String>()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user