Fixed that if url starts with '//' then only 'https:' gets prepended not 'https://'
This commit is contained in:
parent
1356249621
commit
4aa5837681
|
@ -171,9 +171,10 @@ open class BankIconFinder : IBankIconFinder {
|
|||
|
||||
if (urlEncoded.startsWith("http")) {
|
||||
return urlEncoded
|
||||
}
|
||||
else {
|
||||
return "https://" + urlEncoded
|
||||
} else if (urlEncoded.startsWith("//")) {
|
||||
return "https:$urlEncoded"
|
||||
} else {
|
||||
return "https://$urlEncoded"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue