diff options
Diffstat (limited to 'taler-kotlin-android')
-rw-r--r-- | taler-kotlin-android/src/main/java/net/taler/common/TalerUri.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/taler-kotlin-android/src/main/java/net/taler/common/TalerUri.kt b/taler-kotlin-android/src/main/java/net/taler/common/TalerUri.kt index a1b7225..999408c 100644 --- a/taler-kotlin-android/src/main/java/net/taler/common/TalerUri.kt +++ b/taler-kotlin-android/src/main/java/net/taler/common/TalerUri.kt @@ -45,7 +45,7 @@ public object TalerUri { } else -> return null } - if (!uri.startsWith(prefix)) return null + if (!uri.startsWith(prefix, ignoreCase = true)) return null val parts = uri.let { (if (it.endsWith("/")) it.dropLast(1) else it).substring(prefix.length).split('/') } |