mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-02 04:33:52 -04:00
[app] Don't crash on malformed fdroid.link Uri
Fixes acra-crash-reports#740
This commit is contained in:
committed by
Hans-Christoph Steiner
parent
05aa17dea7
commit
9f637a602c
@@ -16,7 +16,7 @@ internal object RepoUriGetter {
|
||||
it.buildUpon().scheme("http").build()
|
||||
}
|
||||
|
||||
it.host == "fdroid.link" -> getFdroidLinkUri(it)
|
||||
it.host == "fdroid.link" && it.encodedFragment != null -> getFdroidLinkUri(it)
|
||||
|
||||
it.scheme.isNullOrBlank() -> {
|
||||
// assume https:// when no scheme given
|
||||
|
||||
Reference in New Issue
Block a user